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,148 - 4,159 of 7,768

20 years ago #4148
Won't that depend on the emotional range for the person my bot's chatting with? I was wondering about making it depended on the emotional range of the person in the memory.

20 years ago #4149
That's where xgossip comes in.

20 years ago #4150
Quick question: Do regular expressions work in word lists? Unfortunately, its a seek from an xnone, so I can't really test it.

Excuse me if this is horribly wrong, but this is what I'm trying to have as that seek.

(what happened|what is going on|see what|I miss something), ^what$ (re), ^no$ (re)

20 years ago #4151
No, they do not.

20 years ago #4152
No, but would it work if you tried it this way?

(what happened|what is going on|see what|I miss something|no|what)$ (re),

I know that this way changes things a little- it doesn't force "no" or "what" to be at the beginning of the phrase, but they usually are anyway, so it may not matter. Putting the $ at the end of the whole keyphrase may force the other part of your list (what happened|what is going on|see what|I miss something) to be at the end of the phrase, but they also look like they probably would be anyway....maybe your responses would still work?

20 years ago #4153
What is the difference between ending w/ a ' ) ' and ending w/ a ' )$ (re) ' moreover: is the (re) necsessary? If so, why?

20 years ago #4154
The (re) means "regular expression", and it is the big command that makes the engine understand what you mean by the little commands ^ and $, etc., so it's necessary to make them work.

20 years ago #4155
Okay, thanks, I have been using it in conjunction w/ those but now I know why- danke

20 years ago #4156
Not sure how to make the bot work but this is a cool site

20 years ago #4157
Read the book of A.I.- then work on your xkeys in the language center. If you have questions just ask. Hope you enjoy it.

20 years ago #4158
Ok, here's the deal. While I was working on doing some reform dealing with (verb), I discovered that half of these keyphrases don't even work. :O It just gives a random xnone.
This is an example of a keyphrase that doesn't work.
what is keeping you from (verb)ing your (*)
When I type in something like "What's keeping you from fixing your computer" in debug, that keyphrase is the 12th one down.
But this one works.
you (even|) know how to (verb) (adjartnounprep)

Both of these have a rank of zero. My first question is, "Why do some keyphrases produce better matches in debug, even with the same rank?"

See, I don't want to adjust too many things, because a lot of these keyphrases are similar.

So, my second question is "Will adjusting the rank of one keyphrase to make it work throw off a similar keyphrase?"

Ideas? :-/

20 years ago #4159
I think you just want (verb), not (verb)ing. The AI-Engine recognizes keeping, taking, etc. as verbs.


Posts 4,148 - 4,159 of 7,768

» More new posts: Doghead's Cosmic Bar