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
Posts 4,148 - 4,159 of 7,768
djfroggy
20 years ago
20 years ago
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.
alc003
20 years ago
20 years ago
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)
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)
ezzer
20 years ago
20 years ago
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?
(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?
revscrj
20 years ago
20 years ago
What is the difference between ending w/ a ' ) ' and ending w/ a ' )$ (re) ' moreover: is the (re) necsessary? If so, why?
ezzer
20 years ago
20 years ago
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.
revscrj
20 years ago
20 years ago
Okay, thanks, I have been using it in conjunction w/ those but now I know why- danke
revscrj
20 years ago
20 years ago
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.

alc003
20 years ago
20 years ago
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? :-/
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? :-/
Ulrike
20 years ago
20 years ago
I think you just want (verb), not (verb)ing. The AI-Engine recognizes keeping, taking, etc. as verbs.
» More new posts: Doghead's Cosmic Bar