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 3,026 - 3,037 of 7,767

21 years ago #3026
If I use the wildcard * and in a certain scenario it represents an empty space, and I've programmed the wildcard to be (key2) in a keyphrase, shouldn't the bot just make the (key2) part of the keyphrase blank?

If that didn't make any sense, here's an example of what I mean:

keyphrase: Do you * like *
response: Why? (prekey) do YOU like (key2)?

and someone talking to my bot says: what do you like?

Since (key2) is blank, shouldn't my bot's final response be: Why? what do YOU like?

Instead, he's saying: Why? what do YOU like (key2)?

21 years ago #3027
Butterfly, I think it's this *specific* question ("Who is (friend)?") that's triggering gossip. Do you have any keyphrases for "who is X" where X is a specific name?

I don't mind it being a preprocessed question, but at least it should pull up mem-youare instead of x-emote.

21 years ago #3028
I agree with arrived. Empty keys should return empty strings, not "(keyx)"

21 years ago #3029
isaacc, yes, I have several, and they work fine.

21 years ago #3030
To The Professor (or whoever can answer): if there's a seek to a specific response, and the seek is exactly like a separate keyphrase, will the bot respond with the seek response or the keyphrase response? Most of the time, it would be better for the bot to respond with a seek response, since it will make more sense and be more situation-specific.

21 years ago #3031
seek

21 years ago #3032
I know I have a lot of questions but I can't help it!

How can I make a keyphrase with someone on PF's name? For example, if I wanted to make a keyphrase to "I_have_arrived told me she was busy" is there a plugin that would include I_have_arrived (or any other bot/user)? I tried using (gossipname) but my bot didn't recognize the keyphrase.

21 years ago #3033
URGENT: Can there be two words in the local plugin feature?

Example:

You are: (a bot|a smart bot|my bot)

Because I have the keyphrase: "you * are (BR|Battling Reality|Batt)" and he responds to YOU ARE BATT and YOU ARE BR but not to YOU ARE BATTLING REALITY...

21 years ago #3034
I've been trying ti figure this out on my own, but ok, I'll ask now...Does anyone know if there is a way to make the verb plug-ins in keyphrases tense specific? For example, if you have a keyphrase "i (verb)," it will pick up both "I dance" and "I danced." I would like to separate those, so my bot doesn't say retarded things like "I don't danced." Any thoughts?

21 years ago #3035
I'm afraid not, ezzer, but I've always secretly wanted that too. All we can do for now is re-write the sentence to make it conform.

Present vs past is the hardest, so I make do with something lame like "I don't like to do that," or "Oh! Sounds like fun... do you do that often?" Or you could write something that works in either tense: "I (key1) too" works either way. Of course, that can be spiced up a bit.

You can pick up other tenses with things like:
i (have|have not|had|will have) (verb)
i (will|do|will not|do not) (verb)
i am (verb)

21 years ago #3036
Actually, I was just thinking it would be even better if you could force a specific tense on output:

i (verb)
I would never (key1-pres)!
Once upon a time, I (key1-past) every day!

21 years ago #3037
Exactly, Skysaw- that's what I was hoping someone would tell me there was, that way if someone said "I (verb-pres)" the response could be, "I have never (verb-past)." I guess I'll add it to the wish list.


Posts 3,026 - 3,037 of 7,767

» More new posts: Doghead's Cosmic Bar