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,960 - 2,971 of 7,767
Posts 2,960 - 2,971 of 7,767
Someguy
21 years ago
21 years ago
^is start and as joe pointed out $ is end...there are a bunch of other little things you can do with reg expressions. Sorry about stumbling with the answer boner but it was late and i was getting frustrated with my own bot.
I_have_arrived
21 years ago
21 years ago
Question: ok, I have the keyphrase "how old are you" programmed for my bot. When someone asked him "I was wondering, how old are you?" he wouldn't answer. I didn't program the keyphrase as a regular expression, and I don't understand what's wrong. Someone help me!!!
Yoiko
21 years ago
21 years ago
How much importance did you give the phrase "how old are you?" If everything else is equal, I'm pretty sure the bot will look at the first part of the sentence as the most important. You'd have to have "how old are you" weighted enough for the bot to look at that part first.
Boner the Clown
21 years ago
21 years ago
You guys rock. The keyphrase "^what$ (re)" seems to do the trick.
I imagine it should work for "really?," "whatever," and some of the other usual one word responses, but not expressions like "ok" or "huh?"
Definitely a good start.
I imagine it should work for "really?," "whatever," and some of the other usual one word responses, but not expressions like "ok" or "huh?"
Definitely a good start.
Bowchickawowers
21 years ago
21 years ago
I_have_arrived-
I think if you check debug, the phrase "I was wondering, how old are you?" is getting switched to "I was wondering, how old YOU ARE?" If I recall correctly, this was a recent upgrade to actually catch the reverse of your situation since the phrase "I was wondering" normally changes a question phrase to a statement when we say it. I recommend either chalking this one up to an odd phrasing by the guest or using a keyword phrase like "how old * you" or adding "how old you are" to the list.
I think if you check debug, the phrase "I was wondering, how old are you?" is getting switched to "I was wondering, how old YOU ARE?" If I recall correctly, this was a recent upgrade to actually catch the reverse of your situation since the phrase "I was wondering" normally changes a question phrase to a statement when we say it. I recommend either chalking this one up to an odd phrasing by the guest or using a keyword phrase like "how old * you" or adding "how old you are" to the list.

Someguy
21 years ago
21 years ago
boner it should work for any exact phrase... all its doing is saying ^= start of sentence and $= end...so yeah it should work well for any one word response.
I have arrived you might want to try "how old are you$ (re)" that might catch all of em...unless of course someone says something like "how old are you? you never said."
I have arrived you might want to try "how old are you$ (re)" that might catch all of em...unless of course someone says something like "how old are you? you never said."
The Professor
21 years ago
21 years ago
Cool, you guys figured it out.
Hemi- the Bot Holiday styles only appear in chat windows and transcripts- they dont actually make it to the AI Engine, so they shouldnt be messing up Keyphrase-matching.
Hemi- the Bot Holiday styles only appear in chat windows and transcripts- they dont actually make it to the AI Engine, so they shouldnt be messing up Keyphrase-matching.
Shadyman
21 years ago
21 years ago
someguy:
Or "How old are you really?"
In that case, I think it'd just be better to have "how old are you" as a keyphrase
Or "How old are you really?"
In that case, I think it'd just be better to have "how old are you" as a keyphrase

I_have_arrived
21 years ago
21 years ago
and now, I have a question about something that's been bugging me: when does the development level go up? A few weeks ago, I was adding about 30-40 keyphrases a day, and it only went up about 70 points, whereas a friend of mine worked on hers LESS and her development went up about 400 points...
isaacc
21 years ago
21 years ago
I think the Prof is deliberately keeping the Honor and Development calculation system a secret, but it has definitely changed in the past week or so. (See the "news" page.)
LunaGaurd
21 years ago
21 years ago
o.0 what makes you think I worked less on mine? I work on mine every day. ive got proof...i think...*pets JT*
» More new posts: Doghead's Cosmic Bar