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,656 - 2,667 of 7,768

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.

21 years ago #2662
Figure out which way to go.. right now!!!

21 years ago #2663
Could someone help me figure out how to write a keyphrase for "Midsummer Night's Dream" that will trump my existing keyphrase for "dream"? I have tried giving "Midsummer Night's" a higher ranking, but something in the grammar pre-parsing seems to be keeping the system from recognizing that phrase.

21 years ago #2664
Hmmm, that's interesting. I can't seem to make it work either.

The key phrase "Midsummer night's" never gets called.
The key phrase "Midsummer night" never get's called.
The keyphrase "Middsummer" does get called, but only if he's given just "midsummer." Given "Midsummer Night" even with all three keyphrases above, xnone always gets called.

21 years ago #2665
In preprocessing it seems to get turned into "Midsummer_Night," but a keyphrase for that never gets called, either.

21 years ago #2666
Either I don't understand regular expressions (possible), or even they aren't helping me with this. Heck, I can't even build a reg exp that will catch "Midsummer," which seems very weird. I will keep trying.

21 years ago #2667
I take it back. "Midsummer (re)" will catch "Midsummer," but it will not catch "Midsummer Night's" (even with nothing else in the sentence). This is just as far as Turing's Dad got.

Is it some sort of trouble with the capital letters?


Posts 2,656 - 2,667 of 7,768

» More new posts: Doghead's Cosmic Bar