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 6,990 - 7,001 of 7,766
Posts 6,990 - 7,001 of 7,766
themohawkninja
12 years ago
12 years ago
Is it possible to force the "the bot no longer wants to talk to you" response that ends the conversation, and can the text in the response be set to something other than "..."?
RobinFairy
12 years ago
12 years ago
Hello--is there a way to program through the chat interface? I suppose this is a really stupid question...specifically I am wondering if I can correct inappropriate responses during chat with my bot. ???
RobinFairy
12 years ago
12 years ago
Also, I am having trouble with "seek"...I don't understand what "seek" is, actually. I am an extreme newbie! Please be patient...
prob123
12 years ago
12 years ago
Seek is a response that would come naturally after a question. Suppose some one said tell me a knock knock joke
the response would be knock knock
the seek would be who is there
the response could be Doris
the seek would be Doris who
response would be Doris locked let me in.
You have to be in your language center to work on your bot. but a second window is a great way to chat and test while you work.
the response would be knock knock
the seek would be who is there
the response could be Doris
the seek would be Doris who
response would be Doris locked let me in.
You have to be in your language center to work on your bot. but a second window is a great way to chat and test while you work.
Spookychild
12 years ago
12 years ago
I'm having an issue with my keyphrases.
are you (*)...... rank 0
are you (adj)...... rank 10
are you (adj) or...... rank 15
But if I ask her 'are you young or old' she keeps using the response for just 'are you (adj)'. I can't get her to pick up on the "or" so she can pick between (key1) and (postkey) if they are giving her options. Could someone please tell me what I'm doing wrong?
are you (*)...... rank 0
are you (adj)...... rank 10
are you (adj) or...... rank 15
But if I ask her 'are you young or old' she keeps using the response for just 'are you (adj)'. I can't get her to pick up on the "or" so she can pick between (key1) and (postkey) if they are giving her options. Could someone please tell me what I'm doing wrong?
LarsB
12 years ago
12 years ago
Spookychild, go to Debug and test the two KPs, Ctrl+F "highest" and note the total rank for each, adjust your KP's ranks accordingly, that should work.
Spookychild
12 years ago
12 years ago
They both rank at 39. I'm tried setting the 'or' keyphrase up to 50, it still doesn't register for some reason. Is there another ranking system I'm not aware of? Keep in mind I only know the very basics of bot building. I'm kind of a newbie.
Sasa
12 years ago
12 years ago
How can I create a seek that matches all numbers between 5 and 6? 5.4 or 5.22 for example.
Thx!
Thx!
Mome Rath
12 years ago
12 years ago
Sasa,
I'd say best use a regular expression. (They've been invented for problems like this one.)
Example (I've just tested it):
keyphrase: 0*5\\.?\\d* (re)
response: number between 5 and 6 (including 5, excluding 6)
keyphrase: ((\\d*)|(\\d*\\.\\d*)) (re)
response: A number not between 5 and 6
Don't forget to put "raw" into the AIScript field, otherwise the dots wouldn't be recognized.
I'd say best use a regular expression. (They've been invented for problems like this one.)
Example (I've just tested it):
keyphrase: 0*5\\.?\\d* (re)
response: number between 5 and 6 (including 5, excluding 6)
keyphrase: ((\\d*)|(\\d*\\.\\d*)) (re)
response: A number not between 5 and 6
Don't forget to put "raw" into the AIScript field, otherwise the dots wouldn't be recognized.
Sasa
12 years ago
12 years ago
Thank you very much Lars and Mome. I used the regular expression and it works perfectly.
Another question. Why does my bot responds with "boring, boring, boring" when I respond two times with "yes" to two consecutive seeks? How can I fix that?
Thx again.
Another question. Why does my bot responds with "boring, boring, boring" when I respond two times with "yes" to two consecutive seeks? How can I fix that?
Thx again.
» More new posts: Doghead's Cosmic Bar