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 5,120 - 5,131 of 7,766
Is there a way to add memories when your bot has chatted with someone, but not remembered anything for them yet? Editing existing memories works fine, but it'd be nice to add what info you can gain from the transcripts... or am I missing something?
Posts 5,120 - 5,131 of 7,766
dallymo
19 years ago
19 years ago
alc, you might try doing that in your AI initialization script--you could instruct your bot to remember "blank" as the value for those memories. Then, if a particular memory is "blank" (it's the word "blank", not a null value), you could use AI script to prompt your bot to use (or not) any of those responses, depending on the value of the memory. It doesn't eliminate the memories, so they still show up in the bot's memories of the other chatter, but the AI script initialization can make your bot "forget" the previous answers the next time they chat with that person/bot.
alc003
19 years ago
19 years ago
I understand what you're saying-I use a similar method for changing topics. But after thinking more, I'll just keep them, that way they can be recycled for another mad lib. There doesn't seem to be a way to delete memories, the most I can do is get it down to nothing.
SubliminaLiar
19 years ago
19 years ago
Is there a way to add memories when your bot has chatted with someone, but not remembered anything for them yet? Editing existing memories works fine, but it'd be nice to add what info you can gain from the transcripts... or am I missing something?
prob123
19 years ago
19 years ago
when I first started, I type rem flagon of ale as favorite drink in the AIScript Initialization box on the settings page..it gave everyone that Bildgesmythe ever talked to flagon of ale as a favorite drink..So I guess you could start a more general catagory, like mem you are it would add it to every bot then you could insert what ever you wanted after.
Ulrike
19 years ago
19 years ago
Until the memory exists, you can't edit/add stuff to it. But you CAN set a default value in the AIScript Initialization for the bot. A common example straight from the Book of AI is [default (name) as "(nickname)"] whcich gives the bot something to use for mem-nickname, even if the other chatter hasn't said "call me X"
But you can initialize any memory that way, and once it exists you can edit it. Like [default "none" as "youlike"] Just click on "settings" for the bot, and type your defaults in the AIScript initialization box (without the square brackets) and separate multiple defaults with a semicolon.
But you can initialize any memory that way, and once it exists you can edit it. Like [default "none" as "youlike"] Just click on "settings" for the bot, and type your defaults in the AIScript initialization box (without the square brackets) and separate multiple defaults with a semicolon.
Ulrike
19 years ago
19 years ago
Oh, you may want to add some {{?PF if "(youlike" is not "none"; ?}} so that the bot doesn't start saying stuff on the order of "I rememeber you. You like none!" Unless you make your default some reasonable conversation starter.
Ulrike
19 years ago
19 years ago
Hmmm... I think I've got an unneeded set of parentheses... That should be [default (name) as "nickname"] Otherwise, you'd have to do mem-(nickname) with parentheses, which would get tiresome.
alc003
19 years ago
19 years ago
It would be helpful if there was some sort of "else" trigger. I have three classes of xnones, and on the second class I need to go to the third class if all of them have been used. However, there doesn't appear to be a way to do that. Tried using memories and that all-but it will give the "No valid responses" thing.

MouseyBoi
19 years ago
19 years ago
Alc003, why don't you try a Goto response?
You would have to copy the third responses into a different keyphase, but then it would work.
You would have to copy the third responses into a different keyphase, but then it would work.
» More new posts: Doghead's Cosmic Bar