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.

7530 - 7544 of 7545

NEW 4 months ago #7530

why can't there be a sleep mode for chatbots made.
where i can a response for them sleeping.
it would continually say this until the time is up.
example something like you see Edward sleeping in his bed.
I was having trouble implementing this with time based responses.

NEW 4 months 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.

NEW 3 months ago #7532

I am using time based response for this and other things.

NEW 1 month ago #7533

I think personality forge needs the option of using a sex and profanity filter for the chatlogs.

NEW 1 month ago #7534

I think personality forge needs the option of using a sex and profanity filter for the transcripts.

NEW 1 month ago #7535


NEW 1 month ago #7536

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

NEW 1 month ago #7537

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

NEW 1 month ago #7538

its not vodka now...its vodja.... GIMME VODJA

NEW 1 month ago #7539

how do I check if a word is not in a plugin?

NEW 1 month ago #7540


NEW 1 month ago #7541

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?

NEW 1 month 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.

NEW 1 month ago #7543

Thank you! Now it works

NEW 1 month ago #7544

You're welcome! Glad I could help.

Posts 7530 - 7544 of 7545

» More new posts: Bug Stomp