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,948 - 2,959 of 7,767
Posts 2,948 - 2,959 of 7,767
ruebot
21 years ago
21 years ago
is there any way references to the singular and plural form can be associated by the AI engine?
for instance, he has a "quantum computers" catagory, but missed what dallymo was asking when she wanted to know about the "quantum computer", which i had neglected to give him a category for till now.
for instance, he has a "quantum computers" catagory, but missed what dallymo was asking when she wanted to know about the "quantum computer", which i had neglected to give him a category for till now.
Boner the Clown
21 years ago
21 years ago
Hmmm, I haven't been able to figure this one out. Is there a way to keyphrase a single word without that word being flagged from the middle of a sentence? The words "what" and "really" come to mind, two pretty common single-word responses in conversation.
How can I differentiate between a "What?" and a "What would you like for lunch?"
How can I differentiate between a "What?" and a "What would you like for lunch?"
Someguy
21 years ago
21 years ago
I'm new so don't take my word for it but i would try using regular expressions as covering in the expert area in the book of AI. Something like "what\?? (re)" i believe would make the keyphrase have to be "what?". That would give you room to deal with the other question however you see fit without it calling upon "what?" i think. Again i'm new at this so i could be wrong.
Boner the Clown
21 years ago
21 years ago
I tried that, doesn't work.
Basically what I have now is "what" as a keyword with "what does", "what is," "i know what," etc. as higher ranked keywords. It doesn't really work well, there are far too many combinations to cover.
Anyone else?
Basically what I have now is "what" as a keyword with "what does", "what is," "i know what," etc. as higher ranked keywords. It doesn't really work well, there are far too many combinations to cover.
Anyone else?
Someguy
21 years ago
21 years ago
erm sorry i got to thinking and i seemed to forget that ? couldnt be in keywords. so then i slapped myself silly...Anyhow the answer is still regular expressions but instead try "^what? (re)" i tested this on my bot that has a few "what...." question keywords and it seems to work. This basicly searches for the word "what" at the start of a sentence, But does not allow more then 1 other t beyond the what...so basicly it only allows "what" or "whatt". If i understand it right that is. Hope i managed to help this time.
ezzer
21 years ago
21 years ago
to make "what would you like" pull up separate responses for just "what" alone, you give "what" a really low rank, and make a new keyphrase for "what would you like".

isaacc
21 years ago
21 years ago
I think there is also a reg-exp character that means "the end of the sentence" -- which you could put after "what," to frame it (and the punctuation) as the only things in the keyphrase. Regular expressions are definitely your answer, Boner, but I don't know enough about them yet to give you concrete advice.
ezzer
21 years ago
21 years ago
If there is something to put in a reg expression that signifies nothing after the given words, I sure do need it! Can you put the ^ sign at the end, too?
» More new posts: Doghead's Cosmic Bar