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,746 - 6,757 of 7,766

16 years ago #6746
xhello sometimes just doesn't work, but from the book of AI
Xhello
This is used as a response to a new conversation initiated by someone else. Note that xhello will ONLY come up at the very beginning of a conversation. Repeated attempts to try to trigger xhello will trigger xnone instead, because it makes no sense conversationally to continue greeting someone again and again.

Make sure that you don't have AI script or emotion that keeps the phrase from coming up.

16 years ago #6747
I'm having problem with people's names. When my both asks someone what his name is, keyphrases like "my name is (*)" or "call me (*)" are recognized easily, but it doesn't work if the answer is just a single word. For some reason, those replies almost invariable get directed to xcommand, no matter the name.

I tried this keyphrase:
^([abcdefghijklmnopqrstuvwyxz]+)$ (re)
to recognize all one-word answers, but it's still not working. Any tip on what I should do?

16 years ago #6748
You can try the name plug ins like (allnames) and (all-names) with a high rank, over 20. It should pick up most names

(allnames), (all-names) 20 0 remember (key1) as only "name"

16 years ago #6749
I tried this keyphrase:
^([abcdefghijklmnopqrstuvwyxz]+)$ (re)
to recognize all one-word answers, but it's still not working. Any tip on what I should do?

Assuming the question is in xinitiate - you could also try a catch all seek (*) to the "what's your name" question and have the user/bot confirm that that is the name to be used, then rem (firstkey1) as only "name"

What's your name?
Add a seek: (*)
Response: Is that really your name / is that what you want me to call you / etc.
Seek: yes => rem (firstkey1) as only "name"
Response: your bots' response
Seek: (xnomatch) => your bots' response



16 years ago #6750
Unless things have changed while I was away, seeks work about once in a blue moon on "xinitiate".

16 years ago #6751
Yeah, I think it may be rarer than once in a blue moon.

16 years ago #6752
Maybe Sublimunse is in a universe full of blue moons, don't know, his seeks in xinitiate always get picked up by the engine.
HIDDEN: Post content outside ratings limits.

15 years ago #6754
Well, I'm not sure what the problem itself is but you can get rid of the im in the keyphrase because when you put in I'm, the bot splits it up into I am before deciding on it's response, as it does with all contractions

Edit: You sure that (key2) shouldn't be (key1) btw? Also, do you have responses to that keyphrase? otherwise I'm lost

15 years ago #6755
Speaking of problems, I replaced a phrase on my bot, but the old phrase comes up in its old place in the cycle, and the new phrase doesn't come up at all

15 years ago #6756
Go to your bots setting page and in the Ai box copy and paste this
default (name) as "name"

make keyphrases for
my name is (*),call me (*),refer to me as (*),my nickname is (*),mind calling me (*) etc
in the ai script box
rem (key1) as only "name"

I found making my own plug in for names worked better, perhaps there is a problem with (allnames)

prob123: hello
prob: Merry meet.
prob123: My name is scott
prob: Ok, cool. Scott
prob123: what's my name
prob: Isn't your name Scott?

You can't use "im" you would have to make that a regex. use the I am and the ai engine will translate the I'm

15 years ago #6757
It could be that there are too many entries in (allnames). Shorter plugins seem to me to be more reliable, but I don't use them much so I'm not sure.


Posts 6,746 - 6,757 of 7,766

» More new posts: Doghead's Cosmic Bar