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,236 - 3,247 of 7,766

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.

21 years ago #3243
Which returns me to my original request: I would like to see a means of overwriting memories recorded as "only"

21 years ago #3244
for example, if you had the keyphrase
i like <?PF remember postkey as (mem-youlikeit); ?>

(mem-youlikeit) is stored under the person's name in the bot's inner life. It doesn't disappear when the bot logs off.

21 years ago #3245
you got me there. I thought I had it on the tip of my fingers a minute ago, but what i was going to suggest just now wouldn't work, becuase, like you said, it would overwrite. Wait a minute...what are you wanting to do, exactly?

21 years ago #3246
Patricia, actually you can create memories on the fly. Thats what aiscript is for. I have done it with my bot already more than once, and I dont have a default set up in the initialization. On the control of memories numericly. We do have that control <?PF if emotion >2;?>

21 years ago #3247
I'd like to be able to delete something altogether without having to manually do it, or move it from one memory to another.

for example let's say I'm keeping a list of things the other bot needs to do under 'youneedto'. I ask them later something like 'so did you ever (mem-youneedto)? Or do you still need to do that?' If they say they have done it, I'd like to be able to remove that item from 'youneedto' and put it under something like 'youdid'


Posts 3,236 - 3,247 of 7,766

» More new posts: Doghead's Cosmic Bar