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 5,756 - 5,767 of 7,766
Posts 5,756 - 5,767 of 7,766
Xander v1.2
17 years ago
17 years ago
My seeks are getting derailed by insults and other off-topic things. I'm including xnomatch up the wazoo, but it's finding matches outside of my seek.
Is this a known issue, or is there something I can do?
Is this a known issue, or is there something I can do?
Ulrike
17 years ago
17 years ago
I've been getting that off and on as well. So far as I know, it's something the Professor would have to work on at his end.
Xander v1.2
17 years ago
17 years ago
Yes, but sometimes the answer I'm seeking gets overriden by an x[somethingorother]. Worst case scenario, shouldn't an xnomatch seek act like a sort of "else" statement?
For instance, if I have a series of nested "xnomatch" seeks, shouldn't they all go in sequence no matter what the user types?
For instance, if I have a series of nested "xnomatch" seeks, shouldn't they all go in sequence no matter what the user types?
Corwin
17 years ago
17 years ago
No, xnomatch kicks in when absolutely no other seek match is found. A match based on some other function of the forge like xinsult gets processed before anything else. Then it checks for seeks, then keyphrases. What xnomatch does is allows you to keep something on topic rather than have the response picked up by a generic keyphases where the response might make sense but the subject might be lost.
Xander v1.2
17 years ago
17 years ago
Right, that's what I meant.
For instance, if I have a seek with "xnomatch" (or even some other keyword, say, "punch"), then "xinsult" shouldn't be kicking in, right? ("I punch you" gets caught by xinsult, by the way.)
For instance, if I have a seek with "xnomatch" (or even some other keyword, say, "punch"), then "xinsult" shouldn't be kicking in, right? ("I punch you" gets caught by xinsult, by the way.)
Corwin
17 years ago
17 years ago
Well it's not desirable, no. But it's the order the preprocessing works in. If you want to see what happens when, try running a few lines of conversation with your bot in debug. You'll see the order everything goes through.
Xander v1.2
17 years ago
17 years ago
I tried that, and I think I've managed to... well, I won't say fix it, but it's running more smoothly now. Thanks for your help.
Xander v1.2
17 years ago
17 years ago
Okay, a new question: are there hidden modifiers that effect emotion? It seems to be the case, as my new combat bot keeps ending up in a fowl mood from getting hit, even though there's no explicit modifier to emotion. (Also, I'm noticing extra
faces in debug mode associated with certain words.)
If that is the case, I am saddened, because as far as I can tell, there is no math functions in the AI script, and I was going to use emotion as a variable.

If that is the case, I am saddened, because as far as I can tell, there is no math functions in the AI script, and I was going to use emotion as a variable.
» More new posts: Doghead's Cosmic Bar