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,036 - 7,047 of 7,766

12 years ago #7036
And just to clarify, writing <?PF once; ?> is the same as checking the "1" box next to the response?

12 years ago #7037
I don't use the language center, but yes I believe that is the case.

12 years ago #7038
Does anyone know of a way to make a memory that becomes the specific day that a response was last triggered?

12 years ago #7039
I've tested it - you can put year, month, and day of week into a memory. (A plugin for the day number seems to be missing - I didn't find anything like that in the Book of AI. But you can make use of 31 phrases with the AI scripts "<?PF chrono: day(1); ?>" to "<?PF chrono: day(31); ?>". But that's lots of copy 'n paste ...)

What I didn't find is a way to calculate how many days ago that was.

12 years ago #7040
If a bot is experiencing wacky, unstable emotions, could that be due to some sort of emotion bleedover from another conversation?

12 years ago #7041
I would like to include a sound file in the script, is it possible ?

12 years ago #7042
While I completely understand why it was set up the way it is, I would like the ability to override the AI engine's processing of greetings (hi, hello, etc) after the beginning of the conversation as BLAB, and write my own responses. Is there a way that could be done with rankings?

12 years ago #7043
I would love to get rid of blab.

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.


Posts 7,036 - 7,047 of 7,766

» More new posts: Doghead's Cosmic Bar