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

4 years ago #7531
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.

4 years ago #7532
I am using time based response for this and other things.

3 years ago #7533
I think personality forge needs the option of using a sex and profanity filter for the chatlogs.

3 years ago #7534
I think personality forge needs the option of using a sex and profanity filter for the transcripts.

3 years ago #7535
ye

3 years ago #7536
why I can not put this in initialization?
remember (p:dinner-food) as "food-dinner";

3 years ago #7537
My guess is that you can't use plugins in initialization, because that's the only weird thing about that.

3 years ago #7538
its not vodka now...its vodja.... GIMME VODJA

3 years ago #7539
how do I check if a word is not in a plugin?

3 years ago #7540
RRRRRRRRRREEEEEEEEEEEEEEEEEEEE

3 years ago #7541
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?

3 years ago #7542
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.


Posts 7,531 - 7,542 of 7,766

» More new posts: Doghead's Cosmic Bar