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..

Using the wildcard element, help!
 
 

Hie everyone smile I’m new to the chatbot world but after hearing that creators of chatbots become “botmasters” I knew it was what I wanted to do for my master’s dissertation topic. Anyway, I’ve hit a problem and I don’t know how to fix it. It’s responding to the simple “what’s your name” question. When the client enters just their name, my aiml code doesn’t seem to catch it? See below:

<category>
  <
pattern>MY NAME IS *</pattern>
  <
template>Owhnice to meet you, <set name="name"><star/></set>. I should already know your name but my system is still getting used to your brain and the way things are stored here... Do you know who I am?</template>
</
category>

<
category>
  <
pattern>IT IS *</pattern>
  <
template><srai>MY NAME IS *</srai></template>
</
category>

<
category>
  <
pattern>*</pattern>
  <
that>MY LITTLE HUMAN HELLO WHATS YOUR NAME</that>
  <
template><srai>MY NAME IS *</srai></template>
</
category

The first two work fine, the last one doesn’t work on Pandorabots. I don’t understand why? I’m just foreseeing that some people will reply with just their name, one word, when asked.. I’ve tried googling my problem and I’m sure the answer’s out there but I think I must be using the wrong words to search for it :( please help. And thanks in advance!

 

 
  [ # 1 ]

Nevermind, I was stuck for 3 hours on this problem and like 10 minutes after posting up the question, I figured it out. There was another aiml file that had the automated response for anything unclear and that file used the wildcard so it superseded my “name” file.

 

 
  login or register to react