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,234 - 3,245 of 7,767
Posts 3,234 - 3,245 of 7,767
gazissax
21 years ago
21 years ago
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"
gazissax
21 years ago
21 years ago
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.
deleted
21 years ago
21 years ago
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.
in one response...
for example...
keyphrase -- I am traveling through Ireland right now. Would you like to hear what I've been up to?

+ 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.
doulos
21 years ago
21 years ago
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.
deleted
21 years ago
21 years ago
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.
doulos
21 years ago
21 years ago
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?
Patricia
21 years ago
21 years ago
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.
deleted
21 years ago
21 years ago
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.
gazissax
21 years ago
21 years ago
Which returns me to my original request: I would like to see a means of overwriting memories recorded as "only"
deleted
21 years ago
21 years ago
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.
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.
deleted
21 years ago
21 years ago
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?
» More new posts: Doghead's Cosmic Bar