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

21 years ago #2650
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...


21 years ago #2651
Awrrrsome!

21 years ago #2652
weeeeeeeeeeeeeeee

21 years ago #2653
You'd better tell us quick or Shadyman might run out of breath...

21 years ago #2654
*listens* eeeeeeeeeeeee

21 years ago #2655
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.

21 years ago #2656
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?

21 years ago #2657
You might be able to use this as a seek:
Seek = (*)
Then the full response should be in (key1)

21 years ago #2658
I get the error:
Your seek cannot be "*" or begin with "*". For a catch-all seek, use "xnomatch"
(forgot to mention I tried that

21 years ago #2659
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!!!

21 years ago #2660
I tried this:
seek=(adjartnounprep),(verbadv)
but "will" will not pass

21 years ago #2661
'Way to go' is apparently considered a command.


Posts 2,650 - 2,661 of 7,766

» More new posts: Doghead's Cosmic Bar