AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

adding a if not found tag to aiml
 
 

Ive never used spelling correction in aiml because its deterministic. you have to know
what the misspelling is in order to correct it. so instead we just use a lot of random tags to fit
in as general as a context as possible. because we do want to believe that the robot can think.
And we do believe that it isnt really the program that allows the robot to think. regardless even if that
is true we do believe the robot will do whatever the code tells it to do.


anyway

category
pattern na*e end pattern
notfound endnotfound
template srai name end srai

this hypothetical piece of code would only match if the default category would be matched instead
and then direct the person using the program to the name pattern

 

 
  login or register to react