Hi Everyone,
I want to implement (in my mind) a quite simple project, but am not sure how to go about it exactly. Let’s think of one scenario: I want to build a quiz chatbot that might ask you something like:
"A group of what animal is called a herd?"
If you answer “sheep”, “cows”, “horses”, “elephants” or “deers” the chatbot should say something like: "That is correct a group of {whatever the user said} is called a herd"
Instead, if you answer with something like “wolves”, “lions”, or “dogs” the chatbot should say: "No, {whatever the user said} form packs, not herds"
And if you answer “fishes” or “sharks” the chatbot should respond:
"No, {whatever the user said} form shoals, not herds"
I hope it’s clear what I wanna do. Though I don’t want to put in exactly what the user said into the field {whatever the user said} because if the user said wolve I want the bot to respond “No, {wolves} form packs…” instead of "No, {wolve} form packs…"
As far as I know, this should be possible with categorical entities. Now, is there a way to do that with three different stories? Like one for the correct animals, one for shoals and one for packs? Or should I have just one story and do the rest in a custom action? And how could such a custom action look like? (Never worked with that before) How can I access the category (what kind of animal the user said) of the entity in the custom action?
Any guidance or help would be greatly appreciated. And please tell me if I’m missing something…