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,032 - 3,043 of 7,767

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.

21 years ago #3038
"I wish I'd caught some fish yesterday," becomes "I wish I would caught some fish yesterday". I can't think of an easy way to tell when "I'd" should be "I would" and when it should be "I had".

21 years ago #3039
Somehow, "Actually, I don't even believe in computers," triggers xcommand.

21 years ago #3040
Julie, although she has a keyphrase "tell me" set very high, just interpreted "Tell me what you like" as a compliment, and said "I'm glad you feel that way, thanks."

21 years ago #3041
Does anyone know why the (dayofweek) plugin won't work in a keyphrase? For example:

Is today (dayofweek)
Is today (random-day)

Even if the first kephrase is rated higher, my bot always responds with replies from the second keyphrase.

21 years ago #3042
****continuing last post (sorry) So if someone asks if it is the correct day of week, like for today, "Is today Sunday?" My bot replies "Of course not! It's Sunday."

21 years ago #3043
I have arrived i see what you mean Tried it out and it doesn't even process the other sentence(even when a -25 rank is put on the random keyword). Too bad you cant use if statements with such commands in a "if dayofweek is postkey" sort of way. hmm you could try using memories...setting default (dayofweek) as today. I think this would overwrite it with every conversation with a person...then you could simply have one keyword "is today (*)"...Then have responses with "if (mem-today) is(and an is not version) "(key1)"" tagged onto the end. Be warned i have not tested this suggestion, but i probably will soon as it sounds nifty(i am crazy about using memory its so useful).


Posts 3,032 - 3,043 of 7,767

» More new posts: Doghead's Cosmic Bar