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,424 - 6,435 of 7,766

16 years ago #6424

MiltonO yes you can use (he|she|it|they) and just use (key1) to pick up which one.

Interzone
It has happened to me. If your bot goes off line or if you hit a hang up, you get that message.

16 years ago #6425
thank you, prob123!

16 years ago #6426
I'm sorry, I was a bit unclear. If you look at the debug there's a thing over the box where you can click to view explanations of all the words that you have said, that says: He: She: He/She: It: They: Those: Us:
Topic:
And as you talk it changes, for example if you say:
Have you ever met a penguin?

it instead says:
He: She: He/She:a penguin It:a penguin They: Those: Us:
Topic:

Do you know what I mean?
Sorry maybe I'm still unclear ^^

16 years ago #6427
I have a keyphrase called you too , but when I chat with my bot it instead runs the responses of the keyphrase
you (adverb|) (are|were)
(I know I'm lazy for putting are and were in the same keyphrase, I will fix that one day.)
The first keyphrase is on rank 40 and the second is on 0.
Do you know why this is? Thanks in advance.

16 years ago #6428
Try ^you too$ (re) raw with a rank of 40

16 years ago #6429
thanks prob, it works!

16 years ago #6430
Interzone -- if your bot refuses to talk to you, stick a secret word in there that ups the emotion 5 5 points

qwyjibo <?PF emo:5; ?>

You can also just try telling it you love it or something. It'll come back, but it does tend to go off from time to time.

16 years ago #6431
When I use multiple (specific)'s in xfavorite, they're all the same.

Is there a way to have multiple unique (specific)'s in a response or should I just rewrite the responses?

16 years ago #6432
zzrdvark, you can create two different objects in one response, derived from one and the same plug-in, such as (specific). it's really simple:

Response: Yes, i like (specific), but (specific2) is still my favourite.

this rule goes for "Any Custom Plug-In, Universal Plug-In, and AI Engine Plug-In except the date and (definition) plug-ins" (see The Book of A.I. - Bot Development- Advanced for more).

good luck!

16 years ago #6433
Ah, sorry I didn't notice that note in the manual.

Thank you Interzone!

16 years ago #6434
Heh, it doesn't seem to work for (specific2). When I look at the debug, it's replacing (specific) with a (typeof-*) but leaving (specific2) as it is (and then trying to spell-check it).

A keyphrase I have "favorite animal" is getting picked, then getting replaced by xfavorite.

I guess I'll just fiddle with it and end up with what I end up with.

Thanks.

16 years ago #6435
The easiest way is to have a response for the major things people ask like music, movies, food etc. Then one for what is your favorite (*). Then you can have a generic response like My favorite (key1) is the one I don't have yet. Rank the generic one lower than the specific ones.


Posts 6,424 - 6,435 of 7,766

» More new posts: Doghead's Cosmic Bar