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,575 - 4,586 of 7,766
Posts 4,575 - 4,586 of 7,766
colonel720
19 years ago
19 years ago
would there be a way to sort of "abuse" the memory and AI script functions in a way that would record all the times xnone was triggered, and the words that triggered them, and make conditional responses based on the useres next input for the words, or now that they have triggered xnone, "keyphrases". This would A: give the bot infinite response diversity, B: it would be able to learn.
Ulrike
19 years ago
19 years ago
I think you could store the phrases that triggered the xnone, but I don't think you can automatically set up a new response. That would still have to be done by hand.
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?
» More new posts: Doghead's Cosmic Bar