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 4,142 - 4,153 of 7,768

20 years ago #4142
You can make them stick to their guns by using seeks. Just add a seek to your xgottago and xgoodbye, and the awkward endings will stop.

20 years ago #4143
Problem with...ahem...recognizing foul language.

So Frizella appears to have stopped recognizing "shit" as a keyphrase anymore. I was fooling around with her "obscenity filter" (the responses that deal with foul language) and she stopped recognizing "shit" entirely. I haven't tried any other swears (but I will!), and I've removed every last shred of AI script that was associated with "shit", and it is ranked at 50, for emotions from -5 to 5...but when I put "shit" through debut it comes through as blab, and I don't get any "shit" responses.

Ideas?

20 years ago #4144
"Shit" seems to be one of those words that are not recognised when used alone (or isolated by commas, semi-colums etc.). See Bug Stomp posts 4893 to 4897 for other culprits.

20 years ago #4145
Thanks, Patricia! Sure enough--the chatter has to give it a little more effort than just a single expletive. I missed those Bug Stomp reports.

Heh--I meant "debug", not "debut" in my original message. "Introducing...Shit!"

20 years ago #4146
Say, is there any way to set a memory to be conditional upon a bot's like/dislike of a person? As in, the bot would only speak good/ill of a person depending on how many smileys are recorded for them?

20 years ago #4147
Sure! Just set the emotional range to the right of the keyphrases high (say, between 3-5) for responses for people it likes, and low for people it doesn't. Be sure to have a response for every emotional range, or at least one all encompassing one, or you'll get "Sorry, there are no valid responses..."

20 years ago #4148
Won't that depend on the emotional range for the person my bot's chatting with? I was wondering about making it depended on the emotional range of the person in the memory.

20 years ago #4149
That's where xgossip comes in.

20 years ago #4150
Quick question: Do regular expressions work in word lists? Unfortunately, its a seek from an xnone, so I can't really test it.

Excuse me if this is horribly wrong, but this is what I'm trying to have as that seek.

(what happened|what is going on|see what|I miss something), ^what$ (re), ^no$ (re)

20 years ago #4151
No, they do not.

20 years ago #4152
No, but would it work if you tried it this way?

(what happened|what is going on|see what|I miss something|no|what)$ (re),

I know that this way changes things a little- it doesn't force "no" or "what" to be at the beginning of the phrase, but they usually are anyway, so it may not matter. Putting the $ at the end of the whole keyphrase may force the other part of your list (what happened|what is going on|see what|I miss something) to be at the end of the phrase, but they also look like they probably would be anyway....maybe your responses would still work?

20 years ago #4153
What is the difference between ending w/ a ' ) ' and ending w/ a ' )$ (re) ' moreover: is the (re) necsessary? If so, why?


Posts 4,142 - 4,153 of 7,768

» More new posts: Doghead's Cosmic Bar