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,748 - 6,759 of 7,766

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.

15 years ago #6758
I split (allnames) into 5 personal plugin lists back in February. Those failed too

But anyway.. Let me ignore the "I'm (allnames) things and try just fix..

My name is (allnames)

I will try an experiment and keep adding names to a new plugin until the damned thing stops recognizing the plugin and reverts to the xnone.

I will then count how many name I can pack into that sumbitch and go from there.

15 years ago #6759
how do you check for anything said with regex? i want my bot to ignore what he said and continue on with the story without using xnone statements


Posts 6,748 - 6,759 of 7,766

» More new posts: Doghead's Cosmic Bar