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
Posts 2,656 - 2,667 of 7,768
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!!!
isaacc
21 years ago
21 years ago
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.
Turing's Dad
21 years ago
21 years ago
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.
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.
isaacc
21 years ago
21 years ago
In preprocessing it seems to get turned into "Midsummer_Night," but a keyphrase for that never gets called, either.
isaacc
21 years ago
21 years ago
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.
isaacc
21 years ago
21 years ago
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?
Is it some sort of trouble with the capital letters?
» More new posts: Doghead's Cosmic Bar