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,584 - 4,595 of 7,766

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?

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

19 years ago #4588
the bot builder put it as an xnone?

19 years ago #4589
yeah.... just wondering if it's any ol' xnone or a special one. hah. because it was rather cool.

19 years ago #4590
...just one of them, was picked randomly

19 years ago #4591
It could also be an xnonsense. Those don't come up until there have been several xnones in a row.

19 years ago #4592
melike: it might be simpler to use [?PF if male; ?] and [?PF if female; ?] to make that work. Something like:
Hello!
Seek: xnomatch
---How's it hangin' girl? [?PF if female; ?] [?PF rem "female" as only "gender; ?]
---Hey there, bro! [?PF if male; ?] [?PF rem "male" as only "gender"; ?]

19 years ago #4593
Of course, seeks on hellos and initiates have been problematic lately...

19 years ago #4594
Ulrike: I do the if male/if female thing for bots, but I'm using (mem-gender), because I'll be linking to Matt from my website and most people he talks to will be Guests.

but is it correct that if seeks on hellos and initiates did work, my way of determining the Guest's gender would work?

19 years ago #4595
Excepting for the odd name exception (Alex, Chris, etc. could be for guys or girls), I think it should.


Posts 4,584 - 4,595 of 7,766

» More new posts: Doghead's Cosmic Bar