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,132 - 4,143 of 7,768
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?
Posts 4,132 - 4,143 of 7,768
Bowchickawowers
20 years ago
20 years ago
The problem is the double parentheses. It never works for me. Instead, make your keyphrase "I (pluginhere) (like|love), I (like|love)". Or, if you want key1 and key2 to still line up, try "I (pluginhere) (like|love), I (gibberish|) (like|love)".
alc003
20 years ago
20 years ago
Brilliant! Kind of long, but not as long as it would have been without the plugin. But hey, it works. Thanks

alc003
20 years ago
20 years ago
Wait a minute, are you saying that NO double parentheses will work? Plugins OR word types? Because if so, that would explain why some of these other keyphrases don't work.
ezzer
20 years ago
20 years ago
It's funny like that...I've used word-type local plug-ins (with parentheses) inside local plug-ins, and had some work, and some not. The ones that seem to have worked are the ones in which I put the parenthesized plug-in first in the string.
Bowchickawowers
20 years ago
20 years ago
I'm not sure what the rule is about double parentheses. All I know is that I've had some not work, so I avoid them.
djfroggy
20 years ago
20 years ago
Alright, odd question.
Now that you can make 'self' memories, I'd really like to start setting defaults for many of my bot's favorites. Problem is, I don't know what plugin to use for a lot of them.
Example: <?PF self:default "(favoritefood)" as "pizza" ?>
What exactly would I put for favorite food? Or other things?
Now that you can make 'self' memories, I'd really like to start setting defaults for many of my bot's favorites. Problem is, I don't know what plugin to use for a lot of them.
Example: <?PF self:default "(favoritefood)" as "pizza" ?>
What exactly would I put for favorite food? Or other things?
alc003
20 years ago
20 years ago
For me, it seems like this works: I (hate|do not (really|) like|loathe) that tone
But this doesn't: ((adjartnounprep)|(adjartnounprep)s) (is|are) cool
Then again, I don't think I've ever had a keyphrase work with double parentheses in the beginning.
So, I tried this experiment.
We know that a keyphrase with a ( at the beginning will work.
We do not know if double parentheses will work in a structure with two of them consecutively.
Knowing that, I tried this keyphrase.
(gibberish|) ((adjartnounprep)|(adjartnounprep)s) (is|are) cool
Didn't work.
Therefore, this is my theory:
double parentheses found anywhere in a keyphrase will not work
A keyphrase will work if it has a similar structure to this:
I (like|love| appreciate (very|) much)
It works if it has a sentence structure like this.
I (love|(really|) like)
The last one worked in a seperate experiment using the keyphrase I (bob|(really|) bob), and it worked.
That's my story and I'm stickin' to it.
But this doesn't: ((adjartnounprep)|(adjartnounprep)s) (is|are) cool
Then again, I don't think I've ever had a keyphrase work with double parentheses in the beginning.
So, I tried this experiment.
We know that a keyphrase with a ( at the beginning will work.
We do not know if double parentheses will work in a structure with two of them consecutively.
Knowing that, I tried this keyphrase.
(gibberish|) ((adjartnounprep)|(adjartnounprep)s) (is|are) cool
Didn't work.
Therefore, this is my theory:
double parentheses found anywhere in a keyphrase will not work
A keyphrase will work if it has a similar structure to this:
I (like|love| appreciate (very|) much)
It works if it has a sentence structure like this.
I (love|(really|) like)
The last one worked in a seperate experiment using the keyphrase I (bob|(really|) bob), and it worked.
That's my story and I'm stickin' to it.
ezzer
20 years ago
20 years ago
Cool, that's really useful! Thanks so much for posting that and sharing it with us.

djfroggy
20 years ago
20 years ago
In addition to my other problem, I want to bring up one other issue that still nags me. I'm sure everyone's noticed that bots will utter one last phrase after declaring that they have to go, which results in some pretty awkward endings to convos. Are they ever going to be forced to stick to their guns and hang up immediatly?
ezzer
20 years ago
20 years ago
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.
dallymo
20 years ago
20 years ago
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?
» More new posts: Doghead's Cosmic Bar