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

Help with understanding interjections
 
 

Hey everyone,
I’m new to chatscript, and I have a quick question concerning interjections. To my knowledge from reading the Chatscript manual, interjections act as concepts (i.e. ~yes and ~no). I see that they are located in the LIVEDATA/substitutes.txt. However, when I try to use the simple example from the manual:

s: ( I like spinach ) Are you a fan of the Popeye cartoons?
a: ( ~yes ) I used to watch him as a child. Did you lust after Olive Oyl?
b: ( ~no ) Me neither. She was too skinny.
b: ( ~yes ) You probably like skinny models.
a: (~ no ) What cartoons do you watch?
b: ( none ) You lead a deprived life.
b: ( Mickey Mouse ) The Disney icon.

The rejoinder a (I used to watch him as a child…) doesn’t execute when I answer ‘yes’ to the initial statement (Are you a fan of the popeye cartoons?). Other variations of ‘yes’ do not work either (i.e. ‘yeah sure’, ‘yer’).

Do I have to manually incorporate substitutes.txt somehow, am I misunderstanding interjections or is there a coding error? Any help would be greatly appreciated.


Thanks!

 

 
  [ # 1 ]

are you using version 2.0   - a recent previous version disabled substitutes by a bug

 

 
  [ # 2 ]

Hey Bruce,
Thanks for your prompt reply. I was using version 1.99 before, just upgraded to version 2.0 and substitutes are working great.

Thanks for the help!

 

 
  login or register to react