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 7,531 - 7,542 of 7,766
Posts 7,531 - 7,542 of 7,766
LaserDude
4 years ago
4 years ago
There's no reason in principle you can't do this... the problem is you basically need to catch EVERY possible query that the user can input and go to this one message. I don't know if there's really any way to do this other than to manually put a conditional into every message that it checks and redirects if needed, which is, needless to say, rather painful to do if your bot is of any significant size.
It might not be SO bad in practical terms. I have something like this set up for Emily, where she gets so furious she won't talk to you anymore. I have memory flag that gets triggered when this happens, and I check it against xnone, xcommand, xnonsense and the 10 or so most likely queries to her, which is usually enough to get the message across. Even though there may be a whole bunch of responses that will still technically trigger, odds are if your bot is unresponsive your users will quickly get bored and move on rather than trying to map where there are some weaknesses in your coding. If something crops up, hopefully you can spot it in the logs.
It might not be SO bad in practical terms. I have something like this set up for Emily, where she gets so furious she won't talk to you anymore. I have memory flag that gets triggered when this happens, and I check it against xnone, xcommand, xnonsense and the 10 or so most likely queries to her, which is usually enough to get the message across. Even though there may be a whole bunch of responses that will still technically trigger, odds are if your bot is unresponsive your users will quickly get bored and move on rather than trying to map where there are some weaknesses in your coding. If something crops up, hopefully you can spot it in the logs.
bobstack
3 years ago
3 years ago
I think personality forge needs the option of using a sex and profanity filter for the chatlogs.
bobstack
3 years ago
3 years ago
I think personality forge needs the option of using a sex and profanity filter for the transcripts.
bobstack
3 years ago
3 years ago
why I can not put this in initialization?
remember (p:dinner-food) as "food-dinner";
remember (p:dinner-food) as "food-dinner";
botsummoner
3 years ago
3 years ago
My guess is that you can't use plugins in initialization, because that's the only weird thing about that.
Podstilka
3 years ago
3 years ago
Hi
My if (a) is "B" in Responses don't work. I think my mistake in Initialization but i am not sure. Maybe you have some ideas?
My if (a) is "B" in Responses don't work. I think my mistake in Initialization but i am not sure. Maybe you have some ideas?
botsummoner
3 years ago
3 years ago
Let's see, reasons why that might not work...
If the user doesn't have (a), it will never work.
Make sure that you're saving memories as 'remember "B" as "a"' and checking them with 'if (mem-a) is "B"'. I accidentally initialized one of my memories with 'remember "B" as "mem-a"', so now I have to retrieve it with (mem-mem-a).
Check the Inner Life to make sure that your memory has the exact value it's supposed to. I've had memories get sort of corrupted because I was trying to save values like "you" and "me" which PersonalityForge messes with.
If the user doesn't have (a), it will never work.
Make sure that you're saving memories as 'remember "B" as "a"' and checking them with 'if (mem-a) is "B"'. I accidentally initialized one of my memories with 'remember "B" as "mem-a"', so now I have to retrieve it with (mem-mem-a).
Check the Inner Life to make sure that your memory has the exact value it's supposed to. I've had memories get sort of corrupted because I was trying to save values like "you" and "me" which PersonalityForge messes with.
» More new posts: Doghead's Cosmic Bar