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 6,218 - 6,229 of 7,766

17 years ago #6218
People may disagree with me, but I find wild cards help. It may over trigger though (you may get hits you did not intended so that the response makes no sense in the context you picked up). If you play with the wild cards, you may have "why" "why (*)" "why did" "why * you" "why you (*)" ...etc. Then you have to play with ranking too. Try it out if you think it will help.

17 years ago #6219
Yeah, I did that, too. They still don't get hit. May be a vast conspiracy.

17 years ago #6220
Adding to the confusion:
In debug the comma becomes REALCOMMA and is regarded as the end of a sentence by the AI engine. ("Why, hello there" is broken up in two separate sentences and the engine has to choose between responding to "why" or "hello there".) Why don't you write a regex to match the comma, and use (prekey)/(postkey) in your bot's responses.

17 years ago #6221

Why don't you write a regex to match the comma, and use (prekey)/(postkey) in your bot's responses.

That's an interesting idea. Have you tried that?

17 years ago #6222
Quite a number of keyphrases have that, the one i like best is:

([,.+]) (*) ([,.+]) (re)

In Sublimunse's responses are different combinations of memories collected earlier together with (prekey) / (key2) / (postkey) from this regex. Not always a coherent conversation, but always good for a smile or laugh.

17 years ago #6223
And, of course, I mean "from this keyphrase", not "from this regex"

17 years ago #6224
Thanks, everybody! I will try the comma identifier. And I will try increasing my rankings. I figured if you have keyphrases ranked 0 and 1, the keyphrase ranked 1 should get triggered, but that doesn't seem to work. Apparently you have to make bigger leaps than 1-5. Live and learn.

17 years ago #6225
My keyphrase rankings generally span from -50 to 50.

17 years ago #6226
Mine are from -5 to45 on prob and Azureon..-5 to 75 on Bildgesmythe. I would but the why at 0 and the why did you etc at 10 or 15

17 years ago #6227
I've got one at -40. "do you"

The problem is that the AI engine often adds a "do you" in places where it makes no sense, so it was triggering way waaaay too often. I kept putting it down until it would barely trigger at all.

I've also got some ranked at 50 or higher, esp. vulgar words that I'd rather not see in the transcripts.

17 years ago #6228
Thanks for the information. It would be counterintuitive to me, so I'd never have figured that stuff out on my own. I'm not sure I'll figure out bots, period.

17 years ago #6229
There are other things influencing which one gets chosen besides rank.


Posts 6,218 - 6,229 of 7,766

» More new posts: Doghead's Cosmic Bar