I’m currently trying the latest version (2.6.0), and I currently have this rule that will be triggered when the schedule form is submitted.
- rule: Submit schedule demo form condition: - active_loop: schedule_demo_form steps: - action: schedule_demo_form - active_loop: null - slot_was_set: - interested_demo: "yes" - action: utter_want_schedule_demo - rule: Submit schedule demo form - 2 condition: - active_loop: schedule_demo_form steps: - action: schedule_demo_form - active_loop: null - slot_was_set: - interested_demo: "no" - action: utter_dont_want_schedule_demo
But, when I train the bot, I receive the following message:
Contradicting rules or stories found
- the prediction of the action ‘utter_dont_want_schedule_demo’ in rule ‘Submit schedule demo form - 2’ is contradicting with rule(s) ‘Submit schedule demo form’ which predicted action ‘utter_want_schedule_demo’.
Please update your stories and rules so that they don’t contradict each other.
You can find more information about the usage of rules at Rules.
The interested demo slot is categorical like this:
interested_demo: type: categorical influence_conversation: true values: - yes - no
I’m not sure what I’m doing wrong, I tested in 2.4.0 and the error doesn’t show up. I thought that I could use categorical slots to guide the flow as I want.
Let me know what I can do