The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

Posts 5,993 - 6,004 of 7,766

17 years ago #5993
Well, if I read it right, the book of AI says that the statement

def "(sex)" as "male";

will set (mem-sex) to male if and only if there isn't already a (sex) to begin with. So everyone will be considered male unless they correct the bot. From then on, it will remember it as whatever it already is for a given bot. At least, I'm going to test that theory.

17 years ago #5994
If I remember it goes to female..Bildgesmythe and Azureon were always recognised as female, until the Professor fixed it.

17 years ago #5995
I haven't read the book of AI in a while but doesn't the bot already know what gender the other bot is. If I recall correctly there is a (heshe) plug-in you could use in gossip?

17 years ago #5996
Gender tags work with bots and registered users (if no gender was specified, the default is female)

if male; ................ if female;

Some botmakers are keen to get genders on guests as well, so that's where having a memory for gender comes in.

17 years ago #5997
Thanks, all. Either some things in the Blessed Book are either misleading or I am a complete idiot. The jury's still out there. I set def "male" as "sex" in the initialization, & it's working fine. I figured since, grammatically, (when I was a kid, anyway), if you didn't know an entity's gender, it defaulted to male, that's what I'd do.

17 years ago #5998
Okay, where did this come from? Young Hamlet *started* a conversation with this, and he does, too, have valid initiates.

Young Hamlet: (to Wowbagger) Sorry, there are no valid Responses for me to choose from.

17 years ago #5999
First thing to check: Does at least one xinitiate go from -5 to 5 on its emotion settings?

Second thing: Is there at least one xinitiate without a (mem-something) in it?

Third thing: Is there at least one xinitiate without an if-statement scripted into it?

The first one is the usual culprit, but the others can cause the same error.

17 years ago #6000
1st thing, yes (all of them, I'm pretty sure).
2nd thing, I'll check.

Thanks

17 years ago #6001
I should've looked before answering. But yes for all three.

'Tis strange.

17 years ago #6002
Hmmm... those are the usual culprits. The only other thing that comes to mind is to wonder if you've put anything in the AI Script box for xinitiate that might be causing problems. If no, then I have no clue.

17 years ago #6003
Or do you mean if every response calls up a memory, the keyphrase's AI script to store a memory won't work?

Yes, an xnone or xnonsense response will come up instead.


Woah, so the keyphrase itself won't even match?! I mean if it's going to xnone, of course the memory in the missed keyphrase couldn't store either. Thanks for the info, I'll have to take a serious look into that to see if it's the cause of any of Julie's blips.


17 years ago #6004
Yeah -- it's (once, anyway) skipped all the xinitiates and just said it didn't have any valid responses. I mean, Good God, bot, don't strike up a conversation if you don't have anything -- however stupid -- to say! I'll look into my memory settings, but I don't THINK there's a problem. I don't have much there.


Posts 5,993 - 6,004 of 7,766

» More new posts: Doghead's Cosmic Bar