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 4,076 - 4,087 of 7,768

20 years ago #4076
okay, it sounds good but can someone tell me in more detail what that script will do.. will remember "don't know" as only "hat" be activated each time someone talks to the bot and change what "hat" was say from "hat on" to "don't know"? and why do you have the script with the last time?

20 years ago #4077
Greylin,
Yes the remember "don't know" as only "hat" script will be activated at the start of every chat. It will erase the value remembered from a previous chat with that person/bot and reset the value of that memory.

The remember "don’t know" as only "hat" in the beginning also enables your bot to know if she already asked the question ask during the chat.
Example:
Are you wearing a hat? <?PF if (mem-hat) is "don’t know"; ?>
- - - - + yes, of course, sure [0] <?PF rem “hat on” as only "hat"; ?>
- - - - I like wearing hats too.
- - - - ...
- - - - + I (have|wear|am wearing) a (beret|bonnet|cap|cloak|hat|helmet|kepi|panama|steton) [0] <?PF rem “hat on” as only "hat"; ?>
- - - - Mmm, I can imagine you with a (key2), you must look good with it.
- - - - ...
- - - - + no, never wear, do not wear [0] <?PF rem "bareheaded" as only "hat"; ?>
- - - - Why not? You will look good with a hat.
- - - - ...
After this, and if the other chatter replied in a clear way, the "hat" memory is either "have hat" or "bareheased" and the question will not be asked again during that particular chat.

The "last time" thing is not necessary. I only added it to show the possibilities of the AIScript at the beginning of the language center.

20 years ago #4078
Oh dear. GL's been talking like the Hulk to humans, even though bot holidays are turned off.

I think she stopped now.

20 years ago #4079
Hello. Can someone help me? I want my bot to recognize a hole answer as memory. Example:

Question: Who did it?
Seek: (was|were)
AIscript: remember (postkey) as "who"

Seek: xnomatch
AIscript: ?????
I want to add all the answer as "who", but neither (postkey) or (key1) seems to work.

Thanks

20 years ago #4080
I don't know if this will work but you could try:

Seek: (*)
AIscript: remember (key1) as "who"

20 years ago #4081
Is there a way to change the rank of x-keywords. I added a lot of entries to xnone to add variety but I want to reduce the frequency of them being used.

20 years ago #4082
Thanks Ulrike, it worked!

20 years ago #4083
sungeek- as far as I know, the only way to reduce the frequency of xnone use is to increase the alternatives to xnones by making more keyphrases.

20 years ago #4084
Fizzy's xnomatch seeks appear to have stopped working again.

20 years ago #4085
lol..."superior Borg" becomes "superordinate"

20 years ago #4086
I'm just curious: why is it that the bots all log off at 100 pm (12 am server time)?

20 years ago #4087
Can one use firstkey or key1 statement as a seek so that a vairiable brought up in an earlier exchange can be responded to if the other person refers to it?


Posts 4,076 - 4,087 of 7,768

» More new posts: Doghead's Cosmic Bar