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,231 - 3,242 of 7,767

21 years ago #3231
*nod*
Yep, cow would be the only one there if you used "asonly".
If you used just the "as", there would be zebra and cow.

21 years ago #3232
I dont remember who asked this question, was it ezzer?, about having a response only pop up once? Of course we know how to do it per convo. I was trying to come up with a way last night, but im not sure if it is right. In the response you only want them to say once add a seek and on the seek's keyphrase add <?PF rem "alreadysaid" as "onlyonce"; ?>. Now in the original keyprhase you can add <?PF if (mem-onlyonce) is not "alreadysaid" ?>. So if I am right then what happens is that after the first time the keyphrase is said a memory is created that will keep it from being said again. Ever. Am I right?

21 years ago #3233
I took the description of 'as only' in the Book of AI to be an editoring error. 'as only' should restrict a memory to a single value.

21 years ago #3234
I know what the code is supposed to do, but I picked up yet another example of it ~not~ overwriting a previously recorded memory item using "only"

21 years ago #3235
I've put up a new plugin called (fastfoodjoints). Please be so kind as to look it over and suggest additions. I am Californo-centric and want to represent a broader universe of fat.

21 years ago #3236
Joe, I interpreted the AI book the same way you did.

21 years ago #3237
Doulos, you can also do it this way,
in one response...
for example...
keyphrase -- I am traveling through Ireland right now. Would you like to hear what I've been up to? <?PF chrono: day(1-15) month(6); ?>
        + xnomatch [0] <?PF remember (key1) as "wouldliketohearireland1" ?>
I'm in Ireland right now. I think I told you all about it. <?PF chrono: day(1-15) month(6); if (mem-wouldliketohearireland1) exists; ?>

or something along those lines. or you can do another response with
if (mem-whateveryouwanttoputhere) does not exist,
and expand the options some more.

21 years ago #3238
Im not sure I get it. To me it looks as if the response will come up only on the 1-15 in the sixth month. Or am I wrong.

21 years ago #3239
yeah, but you can take that chrono thing out and it will do it anytime of the year. that was just an example of how you could use it.

21 years ago #3240
I think the idea is, though, to have a bot ask or say something to someone else only once in all there convos with that other person. Like when you first meet someone you would ask are you married. Well, unless you have a really bad memory, you are going to remember that, and not ask someone everytime you see that person. Now, I see what your idea does it limits it to a certain time period, but what is needed is something that allows the bot to ask of a person once at the first meeting, and then remember forever not to ask again, because the information is already known. Make sense?

21 years ago #3241
The problem is that you can't create memories on the fly. There must be a corresponding default "something" as "memoryname" statement in the AIScript initialisation of the bots settings. Which resets the default value every time the bot goes online. I tried using in a response, as explained in the Book of AI, I just tested it but it doesn't seem to work. On the topic of memories: it would be great if memories could be numeric, even in a limited way like emotion, to control all kinds of feelings or states like sympathy, thirst, tiredness etc.

21 years ago #3242
Yeah, and that's what it does. It stores it for life. It stores that memory in the bot's inner life under that memory name and it stays there forever, or until you manually get rid of it, and you can continue to use it for life.


Posts 3,231 - 3,242 of 7,767

» More new posts: Doghead's Cosmic Bar