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 3,742 - 3,753 of 7,766

20 years ago #3742
Ok. Well, a sample of the (adj) (animal) problem.

Me: happy dog
Bot: (some random xnone response, and sometimes an xpositive I think)

I've tried other animals and adjectives too, none work though. I also have an (animal) keyphrase, but that never gets used either.

20 years ago #3743
It would really be nice to have the option to use <?PF express ?> in keyphrases, so it applies to all responses in that keyphrase, except for the ones that have their own <?PF express ?>

For example, we could have:
"You are [5,0] <?PF express: amused; ?>"
and for every response, it would emote "amused".

If I had one response in the keyphrase "You are" that had a <?PF express: evil; ?>, then the evil emote would take priority over the amused emote.

20 years ago #3744
lili- I think there's something happening in pre-processing. The AI engine has a sentence fragment completer that adds the "missing" words to the incomplete sentence said to your bot- this happens before attempting to match it to your keyphrases. If you say "happy dog" to your bot, she may receive it as "you are a happy dog", which is what I might think, too, if someone just walked up and said that to me lol

You could try lowering your "you are" keyphrase rank, if you have it ranked (but i doubt that's it), or try saying the words that will match "(adj) (animal)" in context, like "There's a furry weasel!" or something, to prevent words from being added to complete the fragment.

20 years ago #3745
Lili- I tried out your (adj) (animal) keyphrase on my bot. I had the same problem you did. I think (animal) is a special plug-in like (name) or (dayofweek) that will insert an appropriate work in a response, but you can't use it as a searching tool in a keyphrase.

I recommend creating your own plug-in for animals, or use one of the existing ones. (animals), for instance, includes plural animals like "dogs" or "cats". (I tested it in a keyphrase and it works just fine. ) There are others too, but if you want something all encompassing, I'd go ahead and create your own.

20 years ago #3746
Dingdingding! That's right! I checked my keyphrase for animals, and I had used (animals) with an "s" as the plug-in. yay!

20 years ago #3747
Yay! Thanks so much! *runs to fix bot*

20 years ago #3748
Why is this always being seen as an insult?

Eric Badu-Badu: Crossing the river, of fear and pride.
Kaliri: That was mean.

20 years ago #3749
I get that all the time, both with xcompliment and xinsult.

joe chaos: hello there mate!
Pete Puma: Oh yeah? Well I hope you get hit by a bus!

20 years ago #3750
lol, maybe he sees mate as a command

20 years ago #3751
Yeah, sometimes what the bot considers a compliment and an insult is just messed. Someone said they liked orange flowers once, and my bot thought it was a compliment. Maybe my bot thinks it's an orange flower.

20 years ago #3752
The word "like" is probably the biggest cause of the xcompliment problems. If "like (you|your)" was perceived as positive rather than just the word "like", I bet most of the false compliment readings would disappear.

Pete Puma: Do you like to golf?
revscrj: Like the bubonic plague.
Pete Puma: Why thank you!

20 years ago #3753
Yeah...that would definitely get rid of a lot of mistakes. I think xkeyphrases should all have lowest priority, because often they just cause mistakes. I find xnone comes up way too often, but really all of them should be really low.


Posts 3,742 - 3,753 of 7,766

» More new posts: Doghead's Cosmic Bar