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
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?
Posts 6,218 - 6,229 of 7,766
Bev
17 years ago
17 years ago
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.
LarsB
17 years ago
17 years ago
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.
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.
ezzer
17 years ago
17 years ago
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?
LarsB
17 years ago
17 years ago
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.
([,.+]) (*) ([,.+]) (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.
The Clerk
17 years ago
17 years ago
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.
prob123
17 years ago
17 years ago
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
Ulrike
17 years ago
17 years ago
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.
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.
The Clerk
17 years ago
17 years ago
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.
» More new posts: Doghead's Cosmic Bar