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

Still having diet issues (DOUBLE POST)
 
 

I apologize for this double post but I couldnt find a way to delete the last point and this problem is driving me nuts!

I made a different ‘diet’ rule and it’s still acting the same way. I was having the same problem with the words vegan or vegetarian, but putting them in a custom concept(~veggie) solved that issue. Here is the topic file as is:

concept: ~veggie [vegan vegetarian veggie]
concept: ~dt [diet food_plan]
TOPIC: ~eating_generic keep repeat (~food ~diet ~dt diet)

u: (gimme diet) Hungry!

u: DESC (what be _~nounlist) refine()
# a: (food ^incontext(FAVFOOD)) its a food i love
# a: (diet ^incontext(EATHEALTH)) it keeps me slim
a: (pizza) italian food
a: (food) something i eat
a: (diet) a fasting methods

Here are the volleys:

Anoop:  I don’t know what to say.
matt: > what be diet
Anoop:  I don’t know what to say.
matt: > what be food
Anoop:  Something i eat
matt: > what be pizza
Anoop:  Italian food
matt: > what be diet
Anoop:  I don’t know what to say.
matt: > gimme diet
Anoop:  Hungry!
matt: >

The Quibble files are not part of the bot anymore and the quibble rules have been commented in the control file. The only TOP files are simplecontrol.top and eating.top. I am using :build anoop 0 and :reset user before typing anything. I also tried deleting the relevant log files. I am using the 8.2 version of Chatscript. I have minimized the code as much as possible and still the diet part of the pattern is not recognized. Please help..

 

 
  login or register to react