ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

Same question two answers

Open bobyzoo opened this issue 6 years ago • 1 comments

I want the same question to have two answers according to context, how do I do it? example: I) What is car? --how it works? II) what is bike? *-*how it works?

bobyzoo avatar Aug 19 '19 21:08 bobyzoo

Hello, it depends a lot on how you want it to respond. At first you have some choices. The first simple one is to "train" your chatbot until it understands the difference between sentences and gives you the answer you need. Another way would be to use a YAML coach with pre-configured questions and answers. Another way you can use the module: Specify response adapter, mentioned in the tutorial. But also all these ways may vary from the version of chatterbot you are using;

AndrasHPataki avatar Aug 28 '19 01:08 AndrasHPataki