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

How do Substitutions and Sets interact?
 
 

Hi,

First, I’m pretty new to Pandorabots - was just introduced in a class I’m taking.

Second, here’s my situation. I have a game website that lists skill, some of which are Sword, Small, Sword, Medium, etc. They are so named so that they will sort properly. I’ve created a set out of these skills so that when a user asks ‘Is sword, small a skill?’ my bot will say yes.

However, I want to create a substitution so that if they as ‘Is small sword a skill?’, my bot will still say yes, but it doesn’t work. Do things inside the <set></set> tags not go through substitutions?

I’ve considered putting the skill name in the set both ways, but I will still need the substitution elsewhere, I’m sure. How can this best be handled?

Thanks very much!

 

 
  login or register to react