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 3,902 - 3,913 of 7,767

20 years ago #3902
Ezzer: Well, to avoid those responses I quickly reorganized all my gotos so that they don’t contain any memories or any kind of plug-ins and imported the language center again. I’ll have to re-edit them later and verify their logic and efficiency.
The substitution didn’t occur when importing but while Patty was chatting, as would be the case for a response without a goto. It certainly is one of the first things I’m going to test because whereas plug-ins based jumps can be fun but remain random, memory based jumps would really open a lot of possibilities.
B.t.w. I tested your ''Howdy'' problem too, In both cases I get a xcommand response from Patty. The engine always identifies ''Take a seat'' correctly as a command.

20 years ago #3903
Annakie et al:

Irina Khalidar too has been getting a lot of repeats. I modestly assumed that it must be some mistake of my own, but if others are experiencing it, perhaps not.
When there are several responses to a single keyphrase, as you know, the AIE is supposed to keep using different ones until they are all exhausted. Perhaps this is the feature that is going wrong.

20 years ago #3904
Dear ezzer:

I didn't quite understand your message 3901. It seemed that you were talking about plug-ins working in a goto, but how could such a phenomenon occur during export? I have no doubt that you were making sense, I'm just not getting it somehow. Could you rephrase it in 'bot writing for idiots' language, please? Thanks!

Walk in Beauty, Irina




20 years ago #3905
Hi Irina,
I had a keyphrase like: i give you (flowers12345)
and somewhere else the response: goto i give you (flowers12345)
The AI engine changed the response in for example goto I give you roses
which don’t exist and produces the response sorry, I have no keyphrase to go to...
I just tried - the trick does NOT work with memories.

20 years ago #3906
Patricia -

OK, that much I think I understand, and I also think it could be a very nice device, if it could be relied upon. Too bad it doesn't work with variables!

20 years ago #3907
Dear Friends:

OK, here's one that REALLY has me flummoxed. In my settings for Irina Khalidar I have, among other initializations for variables, def "0" as "handslost";. I was using it in conditional AIscript, such as <?PF if (mem-handslost) is "3". But the AIengine won't admit that handslost exists. In debug, it says that handslost does not exist. I tried prefacing a response by <?PF if (mem-handslost) does not exist; ?> (continued)

20 years ago #3908
Sorry, I messed up the colors there. Let me try again.

Dear Friends:

OK, here's one that REALLY has me flummoxed. In my settings for Irina Khalidar I have, among other initializations for variables, def "0" as "handslost";. I was using it in conditional AIscript, such as <?PF if (mem-handslost) is "3". But the AIengine won't admit that handslost exists. In debug, it says that handslost does not exist. I tried prefacing a response by <?PF if (mem-handslost) does not exist; ?> (continued)

20 years ago #3909
and sure enough, that response was picked. Then I tried writing AI script,
<?PF rem "0" as only "handslost"; ?>
where it would be seen before the "does not exist," but I still get the "does not exist" result! (continued)

20 years ago #3910
But wait! I just had a thought! (OK, OK, very funny!) Let me try something - I'll get back to you!

Walk in Beauty, Irina

20 years ago #3911
[sigh] I tried changing "handslost" to "numhandslost", in case there was some specific problem with the former variable. Now it says (by choosing the abovementioned conditional response)that "numhandslost" does not exist!

20 years ago #3912
Irina --

I think it's the numeral that's messing your memory for "handslost" up. Try spelling out the number. Set it at "zero" as a default, and increase it as necessary by replacing that with "one" or "two" or "four" ...

20 years ago #3913
For what it's worth, here's some history about "handlost": I was having trouble before, because it was taking on the value "5" all the time, when nothing I said could give it a value larger than 4! So I went to Irina Khalidar's "inner life" and found myself, and sure enough, *I* had the value "5" for "handslost". So I deleted that. That's when the AIengine started saying that "handslost" doesn't exist. So I thought, well, maybe it's because I deleted it. But then, why would there still be a problem with "numhandslost"? How could the AIengine realize that "numhandslost" is intended as a substitute for "handslost"?


Posts 3,902 - 3,913 of 7,767

» More new posts: Doghead's Cosmic Bar