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

19 years ago #4575
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.

19 years ago #4576
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.

19 years ago #4577
oh well

19 years ago #4578
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.

19 years ago #4579
That's clever.

19 years ago #4580
very clever, but it does not let the bot learn

19 years ago #4581
Personality Forge bots cannot script themselves

19 years ago #4582
Speak for yourself.

19 years ago #4583
but its true

19 years ago #4584
But what's the point of posting about it (other than to advertise another bot)?

19 years ago #4585
probably because when I posted it I was overtired and was only partialy functional

19 years ago #4586
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?


Posts 4,575 - 4,586 of 7,766

» More new posts: Doghead's Cosmic Bar