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,220 - 6,231 of 7,766

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.

17 years ago #6230
Yes there are Eugene. I think that's what give our bots "free will", or rather, a touch of the prof's will which will make a bot do odd things respond to something as a compliment that we wanted the bot to be mad at or hang up on. Ah well. Upping the ranks and adding more and more key phrases helps some.

17 years ago #6231
Okay, going nuts here. I cannot get any of my keyphrases to be triggered if they are more than one word long, basically, unless I steal them from a bot and it happens to say that same thing again, which is a stupid way of going about it.

I have keyphrases like this:
what * are * you [20,0]
where * was * he [20,0]
what * were * you [20,0]

etc. I'm not giving a damn about how many responses there are right now, because all that affects is my honor, which is down the tubes anyhow. How I could ratchet up my bots' development and my so-called honor would be to teach it tonight where Paris is and a lot of other things that will never get asked or, at any rate, are not my primary concern now. I'd, of course, have to make sure there were suitable selections of answers. I figure a response to a keyphrase will come when it comes. Getting the infrastructure is right.

But why aren't we a nation of goto-bots? I gather we're not. A lot of my bots' responses could fit any number of keyphrases, but I can't stick them but one place. I know how I could fix this. My question is, is this the best thing to do? Because if it's not an xcommand response, chances are, my bots' responses aren't getting triggered and I'm, uh, let us say frustrated.


Posts 6,220 - 6,231 of 7,766

» More new posts: Doghead's Cosmic Bar