I've been making a chatbot aimed for playing some games. I have done some AIML files and added the Annotated public AIML files along with it.
In one conversation the player has the opportunity to recomend the site to a friend. The AIML to pic up the players response are;
<that>WHAT IS YOUR FRIENDS EMAIL ADDRESS</that>
Your friends email address is: <star/>. Is this correct (Yes or No)?
The answer from the bot is:
"Thanks for that web address"
- found in Default.aiml
so... my guess are that <topic> doesnt work as i thought it would.
This pattern will only be matched when the topic name is "ROSHAMBO", so I'm assuming that prior to calling this response, you had previously used <set name="topic">ROSHAMBO</set>...
Assuming you've done that, then you're correct in saying that patterns with <that> set should be matched before other matching patterns.
What is the pattern matched that produces the response 'Thanks for that web address'? Is it because the input contains .com?
The topic are set and all seem fine.
And, yes, its because the input contains .com
I just had to disable the AIML in Default.aiml to workaround this problem. :-(
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.