that chess belongs to indoor game and cricket belongs to outdoor game
for example in the story:
games_played
utter_ask_game_type
inform{“game_type”:“indoor”}
slot{“game_type”:“indoor”}
utter_ask_game_type_indoor
inform{“game_name”:“chess”}
slot{“game_name”:“chess”} … games_played
utter_ask_game_type
inform{“game_type”:“outdoor”}
slot{“game_type”:“outdoor”}
utter_ask_game_type_outdoor
inform{“game_name”:“cricket”}
slot{“game_name”:“cricket”}
At the pointed place if instead of chess(indoor) if the user gives cricket(outdoor) then it should give an error that cricket isn’t an intdoor game because I have only two entities: game_type and game_name and for all indoor and outdoor_games, the entity is game_name
You probably should use FormAction for that kind of behavior. Using FormAction you can validate specific slots, utter error messages and make the user enter a slot again. You can read about FormAction here: Forms
Hey @capgos17. @fuih made a great suggestion, for such situation you should try out the FormAction. You can validate the slots and implement the slot mapping so that your bot would know better which intents should link to which slots.
Still using FormAction, you can check certain slots, say error messages, and make the user enter the slot again. So give it a try. If it still doesn’t work you can look here for a solution to your problem. If you can’t find a solution, just contact support and they will help you. I don’t see any other options besides these. Unless you start using rasa-SDK. I hope my answer was helpful and that you find a solution to your problem. Good luck.
You probably should use FormAction for that kind of behavior. Using FormAction you can validate specific slots, utter error messages and make the user enter a slot again