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,737 - 5,750 of 7,766
rem "blank" as only "youare"
That should erase any existing memories stored as "youare" and replace them with "blank". But you'll have to put it in, say, xinitiate and xhello if you want it to do that on every convo.
Posts 5,737 - 5,750 of 7,766
Ulrike
17 years ago
17 years ago
That should erase any existing memories stored as "youare" and replace them with "blank". But you'll have to put it in, say, xinitiate and xhello if you want it to do that on every convo.
psimagus
17 years ago
17 years ago
Wouldn't that just load the string "blank" as the value of the memory?
You might try
rem "" as only "youare"
but this probably still won't erase the memory entirely. It should prevent it inserting anything inappropriate into dialogue, but it won't necessarily get round the problem of firing a memory-dependent response with nothing in the memory that you want to appear.
Alas, even the Forge has its bounds - it gives us something to push at, but there's inevitably a level of frustration inherent in the misfiring aft agley of the best laid schemes of mice and men.
You might try
rem "" as only "youare"
but this probably still won't erase the memory entirely. It should prevent it inserting anything inappropriate into dialogue, but it won't necessarily get round the problem of firing a memory-dependent response with nothing in the memory that you want to appear.
Alas, even the Forge has its bounds - it gives us something to push at, but there's inevitably a level of frustration inherent in the misfiring aft agley of the best laid schemes of mice and men.
Bev
17 years ago
17 years ago
So we could add rem (name) as only "name" on xhello and Xinitiate as a kind of work around for the "all guest are one" problem? If you had a lot of memories, there would be a long string of those, and you would still loose the ability to remember past conversations with the same person. I'm still afraid to upload versions with AI script changes (and I'm too impatient to do it online). I would hate to add all that and then have the prof fix the guest id issue. Does anyone know if this set up is 'fixed' yet in the sense that we should take it as this is what we will work with?
Ulrike
17 years ago
17 years ago
I know that will only replace existing memories with "blank", but then you could use things like if (mem-youare) is not "blank" to control where they show up.
trevorm
17 years ago
17 years ago
"I know that will only replace existing memories with "blank", but then you could use things like if (mem-youare) is not "blank" to control where they show up."
There's a problem there as well: the "if not" condition applies to *any* of the memories. So if I remember "blank" as only "youare" then later add "a Martian" as another "youare", the "blank" will still prevent responses firing.
The only workround to the workround appears to be to *always* use "as only" which severely limits the usefulness of the memory system.
So I think I'll have to stick with my current approach of doing "save 'chatting' as only youare" in xhello and putting up with the odd strange response.
But a "forget" command is definitely on my wishlist!
There's a problem there as well: the "if not" condition applies to *any* of the memories. So if I remember "blank" as only "youare" then later add "a Martian" as another "youare", the "blank" will still prevent responses firing.
The only workround to the workround appears to be to *always* use "as only" which severely limits the usefulness of the memory system.
So I think I'll have to stick with my current approach of doing "save 'chatting' as only youare" in xhello and putting up with the odd strange response.
But a "forget" command is definitely on my wishlist!
Ulrike
17 years ago
17 years ago
You could still make it work. Have a KP that stores the memory as only "youare" that only triggers if (mem-youare) is "blank". Then have other memory phrases that only trigger if (mem-youare) is not "blank", but they don't need the "as only" bit now.
Yes, a forget command would be simpler.
Yes, a forget command would be simpler.

Irina
17 years ago
17 years ago
That's surely the best way; at least, I have only been able to think of some horribly intricate ways of getting the same effect. Yes, you can blank out any memory you want, but then your bot just has amnesia, instead of keeping track of different users, as was the original (very good) plan.
Irina
17 years ago
17 years ago
I keep trying to "Post a Message in The AI Engine", but they keep showing up in this forum!
trevorm
17 years ago
17 years ago
Thanks Ulrike, I think that would work - though my head starts hurting when I think about it! Now I have to decide whether to implement this or wait to see if the Prof can sort out the guest IDs.
» More new posts: Doghead's Cosmic Bar