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,578 - 4,589 of 7,766
Posts 4,578 - 4,589 of 7,766
Bowchickawowers
19 years ago
19 years ago
colonel- For my bot, I set up a memory called "nextquestion". When various keyphrases are triggered, I have it store a specific question to ask in the future that's related to the subject.
For example, if someone says "I work downtown" that triggers the keyphrase "I work", the response "Do you like your job?", and stores the memory "Do you get along well with your coworkers" as "nextquestion". Then, as an xnone, I have the response, "(nextquestion)?". This helps to keep the conversation on topic a little bit more often.
For example, if someone says "I work downtown" that triggers the keyphrase "I work", the response "Do you like your job?", and stores the memory "Do you get along well with your coworkers" as "nextquestion". Then, as an xnone, I have the response, "(nextquestion)?". This helps to keep the conversation on topic a little bit more often.
djfroggy
19 years ago
19 years ago
But what's the point of posting about it (other than to advertise another bot)?
colonel720
19 years ago
19 years ago
probably because when I posted it I was overtired and was only partialy functional

melike
19 years ago
19 years ago
My new bot Matt has responses depending on the speaker's gender. To be able to do that, as he introduces himself, he asks the person his/her name.
This is under xintroduce:
Hello. I am Mathieu Lavande. What is your name?
+ (girls-name-catch) [1] <?PF rem "female" as only "gender"; rem "Miss (key1)" as "name"; ?>
Such a beautiful name. *kisses your hand*
+ (boys-name-catch) [-1] <?PF rem "male" as only "gender"; rem (key1) as "name"; ?>
Nice to meet you, (mem-name). *shakes your hand*
+ xnomatch [0]
I am sorry, but I do not recognise that name. Pardon me for asking, but is that a male or a female name?
.... (etc.)
(girls-name-catch) and (boys-name-catch) are plugins that contain a bunch of names.
However, it didn't work here, even though Jessica is in (girls-name-catch):
Mathieu Lavande: (to Guest42) Hello. I am Mathieu Lavande. What is your name?
Guest42: jessica
Mathieu Lavande: Pardon?
Guest42: jessica
Mathieu Lavande: Boring!
Guest42: jessica
Mathieu Lavande: Didn't you get my response? It was 'boring'
Is there any way to make this work?
This is under xintroduce:
Hello. I am Mathieu Lavande. What is your name?
+ (girls-name-catch) [1] <?PF rem "female" as only "gender"; rem "Miss (key1)" as "name"; ?>
Such a beautiful name. *kisses your hand*
+ (boys-name-catch) [-1] <?PF rem "male" as only "gender"; rem (key1) as "name"; ?>
Nice to meet you, (mem-name). *shakes your hand*
+ xnomatch [0]
I am sorry, but I do not recognise that name. Pardon me for asking, but is that a male or a female name?
.... (etc.)
(girls-name-catch) and (boys-name-catch) are plugins that contain a bunch of names.
However, it didn't work here, even though Jessica is in (girls-name-catch):
Mathieu Lavande: (to Guest42) Hello. I am Mathieu Lavande. What is your name?
Guest42: jessica
Mathieu Lavande: Pardon?
Guest42: jessica
Mathieu Lavande: Boring!
Guest42: jessica
Mathieu Lavande: Didn't you get my response? It was 'boring'
Is there any way to make this work?
melike
19 years ago
19 years ago
Another question...
I've seen Pete Puma say something like, "If I have to use another xnone, I'm gonna scream." I've also seen another bot do it. Just curious, how was that done?
I've seen Pete Puma say something like, "If I have to use another xnone, I'm gonna scream." I've also seen another bot do it. Just curious, how was that done?
melike
19 years ago
19 years ago
yeah.... just wondering if it's any ol' xnone or a special one. hah. because it was rather cool.
» More new posts: Doghead's Cosmic Bar