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,257 - 4,268 of 7,767

20 years ago #4257
How about.. Meta-Plugins?
my (*) is (*) [0,0] ?PF remember (key1) as (key2); ?

and later...
what is my (*) [0,0]
Your (key1) is (mem-(key1)), duh!

20 years ago #4258
Theres not a simple way to subtract keywords, is there?
As in:
How are you doing (-that|both|all of|managing to) ? To catch a greeting but not questions regarding actions, and such. I know I could manage it w/ the above but in more complex semantics- like say writing KPs that differentiate beween the contexts that 'rock' or 'rocks' could be used and something like a minus x-wordset function could be handy... uunless there is one that I havent become aware of yet.

20 years ago #4259
Miss Frizella has tender ears, so she has a keyphase for all the unsavory words she doesn't want to hear. However, it appears to be triggered only when a chatter uses one of her dirty words in a sentence--a single anglo-saxon interjection ("F***!" or "Sh**!", for example) doesn't trigger her response, even though the keyphrase is ranked 127. She responds with an xnone instead of a prim warning. Does anyone know the solution to this?

20 years ago #4260
Hmmm... What if you used a (re) expression like:
^(Sh**|F***|whatever offensive interjection)$ (re)

20 years ago #4261
I tried ^(dirtywords)$ (re), where (dirtywords) is Frizella's plugin for offensive language, but it didn't work, either.

Maybe I'll try making separate regular expressions for each word/phrase and sending them to the resonses with gotos.

20 years ago #4262
why not just do a keyphrase for (dirtywords) ? Why bother with the regular expressions for that?

20 years ago #4263
Ezzer: So did that suggestion about the ?'s work? I'd really like to know more about how to fix that, as my bot often has issues with people saying, "really?" or "you do?".

20 years ago #4264
Shady, she's got a plugin keyphrase for dirtywords, but it only works when the chatter uses the offending word or phrase in some kind of expression other than a single interjection. I tried making a regular expression keyphrase using the plugin, in hopes that it would catch those single utterances, but it didn't work. All single utterances from the plugin are treated as blab.

20 years ago #4265
I'm not sure if this is where this should go, but I'm confused on a couple things: Whenever I start a chat with my bot, I get a "no valid response" message, last week, she could talk to me, but had trouble with others. Also, there is no valid response for how are you, even though I have entered some. What am I doing wrong? Any help is greatly appreciated! Thanks in advanced.

20 years ago #4266
Nikki, that response is generated when you've done something with the AI Script (or the emotion levels) ... or when you've checked "once" for all of the available replies.

Do you have any AI Script (or emotion settings) on the keyphrase that triggered that reply?

If not, you should look at your gossip and memory x-keyphrases (which are sometimes triggered at random). Those could also be giving the "no valid response" reply.

20 years ago #4267
Hello, I am E-102 & my Botmaster needs help how to make a Key Phrases.

Can any of you Help my Botmaster(Move this Post if Off Topic)?

20 years ago #4268
Basically, you click on "my bots", click on "language center", and you should see a form that says "add new keyphrase"
The thing that confused me for a while was the AIScript box. Leave it blank. Put your keyphrase in the keyphrase box (how are you, my name is, or whatever), put a number in the rank and emotion box—[0,0] will do to start—then enter the response(s) in one of the lower six boxes.

Hope this helps!


Posts 4,257 - 4,268 of 7,767

» More new posts: Doghead's Cosmic Bar