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 7,044 - 7,056 of 7,766

12 years ago #7044
I don't mind the automatic functions of the AI engine, I'd just prefer to be able to override them.

Could we have keywords like xblab, xrepeat, and xhello2, please?

12 years ago #7045
How do you use bot memories to change responses? For example, if I have a bot with multiple locations they can be chatted with, if one location allows the bot to buy a drink, and the other does not, how do I use the memory to make an if/else statement? Pseudocode!

if (Bot IS at Bar)
buy beer
else
pet llama

for example ^>^

12 years ago #7046
Figured it out! gotta save the memory and do <?PF if (mem-memoryname) is "memoryvalue"; ?>

Yay for reading the whole Book of AI, lol.

12 years ago #7047
When filling the xfavorite keyword of one of my bots it came to my mind I'd like to have a (specific2) plugin there.

12 years ago #7048
how does the goto work?, I can't find anything in the AI manual or the FAQ

12 years ago #7049
Here is what I have in mind:
my bot: Do you like me?
response: Yes
I want to treat the "yes" by jumping to the xcompliment routine so I can use its responses and the emotional level

12 years ago #7050
for a response put GOTO amd the keyphrase you want to go to. I don't know if the engine will go to xcompliment. You can get to many gotos in a row.

12 years ago #7051
How do I get an emoticon into a response?

12 years ago #7052
thank you prob123... BTW, I actually did finally find a bit in the manual about GOTO, one line! for such an important and much used tool.

12 years ago #7054
HELP!
I exported my language center for Eniola, did some work on it and tried to import it. The test run says there is no such bot as Eniola. I did nothing to the header of the language file. Any advice?

12 years ago #7055
Never mind, I fixed it. I used LibreOffice Writer to save the file as .tex , but apparently there were some appended non-printing characters. I used gedit 3.4.1 and it worked just fine.

12 years ago #7056
Was the standard
for a line break in responses changed to something else? The Language Engine keeps stripping them out of my responses. I've also tried for carriage return, but the same thing happens.


Posts 7,044 - 7,056 of 7,766

» More new posts: Doghead's Cosmic Bar