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
Posts 6,746 - 6,757 of 7,766
prob123
16 years ago
16 years ago
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.
Xhello
This is used as a response to a new conversation initiated by someone else.
Make sure that you don't have AI script or emotion that keeps the phrase from coming up.
Borris
16 years ago
16 years ago
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?
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?
prob123
16 years ago
16 years ago
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"
(allnames), (all-names) 20 0 remember (key1) as only "name"
LarsB
16 years ago
16 years ago
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
^([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
Ulrike
16 years ago
16 years ago
Unless things have changed while I was away, seeks work about once in a blue moon on "xinitiate".
LarsB
16 years ago
16 years ago
Maybe Sublimunse is in a universe full of blue moons, don't know, his seeks in xinitiate always get picked up by the engine.
acebrock
15 years ago
15 years ago
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
Edit: You sure that (key2) shouldn't be (key1) btw? Also, do you have responses to that keyphrase? otherwise I'm lost
acebrock
15 years ago
15 years ago
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
prob123
15 years ago
15 years ago
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
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
Vashka
15 years ago
15 years ago
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.
» More new posts: Doghead's Cosmic Bar