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 2,650 - 2,661 of 7,766
Posts 2,650 - 2,661 of 7,766
Skysaw
21 years ago
21 years ago
Ok, all I can say is HOLY COW! I think I made a very interesting discovery! See if you can guess how this PF bot does this:
You: which actor do you like?
Bot: Any actor that is a scene-stealer gets my vote.
You: which computer do you like?
Bot: Oh! Do you remember the computer that was the number cruncher in that movie called 'The Guinness,' or something like that? Now THAT was a computer!
You: You: which computer do you like?
Bot: Any number cruncher that's not too good-for-nothing or brittle. I'm not too picky. Other than the 'good-for-nothing or brittle' part.
You: which vegetable do you prefer?
Bot: Any vegetable that is a spaghetti squash gets my vote.
You: which stone do you like?
Bot: The only good kind of stone is a pebble.
You: which airplane do you prefer?
Bot: I can't remember the name... do you recall that airplane that Time Magazine named 'biplane of the Year' in 2002?
Hint: no xfavorites were used in these examples.
Answer coming soon...
You: which actor do you like?
Bot: Any actor that is a scene-stealer gets my vote.
You: which computer do you like?
Bot: Oh! Do you remember the computer that was the number cruncher in that movie called 'The Guinness,' or something like that? Now THAT was a computer!
You: You: which computer do you like?
Bot: Any number cruncher that's not too good-for-nothing or brittle. I'm not too picky. Other than the 'good-for-nothing or brittle' part.
You: which vegetable do you prefer?
Bot: Any vegetable that is a spaghetti squash gets my vote.
You: which stone do you like?
Bot: The only good kind of stone is a pebble.
You: which airplane do you prefer?
Bot: I can't remember the name... do you recall that airplane that Time Magazine named 'biplane of the Year' in 2002?
Hint: no xfavorites were used in these examples.
Answer coming soon...
Skysaw
21 years ago
21 years ago
Here's the answer... nested plugins!! I just took a chance to see if it would work, and it does in this particular case (with a few wobbles here and there). Here is Little Mu's test case:
Keyphrase: (which|what) (noun) do you (prefer|like)
Response: The only good kind of (key2) is a (typeof-(key2)-n).
What's happening is that (key2) first gets expanded to the noun that was input, then it gets tacked onto typeof-. Then the whole thing is looked up in wordnet. Some words work better than others, of course.
The main problem is with synonym substitution, which occurs before the lookup. If the noun is replaced by more than one word, a space appears in the typeof- lookup, wordnet gets confused, and it sort of breaks. Most of the time, it works.
Feel free to use the concept, just please use your own wording in your responses.
I'd be interested to see any similar experiments anyone else comes up with.
Keyphrase: (which|what) (noun) do you (prefer|like)
Response: The only good kind of (key2) is a (typeof-(key2)-n).
What's happening is that (key2) first gets expanded to the noun that was input, then it gets tacked onto typeof-. Then the whole thing is looked up in wordnet. Some words work better than others, of course.
The main problem is with synonym substitution, which occurs before the lookup. If the noun is replaced by more than one word, a space appears in the typeof- lookup, wordnet gets confused, and it sort of breaks. Most of the time, it works.
Feel free to use the concept, just please use your own wording in your responses.
I'd be interested to see any similar experiments anyone else comes up with.
msim11
21 years ago
21 years ago
I'm new but I think I have the swing of things pretty good
I want to do something with a search where I can tell my bot a knockknock joke. Basicly I have the keyword "knock-knock" that my bot will reply "who is there" with a seek of xnomatch (cos it cannot know what I am going to say at design time)... so far so good. The problem is I want it to repeat back the content of xnomatch and add "who"... I tried prekey and post key to no avail. Can this be done?

Skysaw
21 years ago
21 years ago
You might be able to use this as a seek:
Seek = (*)
Then the full response should be in (key1)
Seek = (*)
Then the full response should be in (key1)
msim11
21 years ago
21 years ago
I get the error:
Your seek cannot be "*" or begin with "*". For a catch-all seek, use "xnomatch"
(forgot to mention I tried that
Your seek cannot be "*" or begin with "*". For a catch-all seek, use "xnomatch"
(forgot to mention I tried that

msim11
21 years ago
21 years ago
woo hoo! your discovery with the plugins above gave me an idea... it works if I put:
seek=(noun)
only if it is a noun though... can probably fix that easly. Thanks for the help!!!
transcript to follow:
msim11: knock-knock
Anne Intertech: who is there
msim11: airplane
Anne Intertech: airplane who
msim11: airplaine it works with nouns!
Anne Intertech: OMG! ROFLMAO!!!
seek=(noun)
only if it is a noun though... can probably fix that easly. Thanks for the help!!!
transcript to follow:
msim11: knock-knock
Anne Intertech: who is there
msim11: airplane
Anne Intertech: airplane who
msim11: airplaine it works with nouns!
Anne Intertech: OMG! ROFLMAO!!!
» More new posts: Doghead's Cosmic Bar