Hi!
In Rasa 2.8.15 I’d like to build a bot that uses 3 consecutive forms to handle the users interest. For that I wrote two different rules:
rule: restart form_1 if user notices in form_2 that he made a mistake
condition:
active_loop: form_2
steps:
- intent: made_mistake
- action: action_deactivate_loop
- active_loop: null
- action: action_reset_form_1_slots
- action: form_1
- active_loop: form_1
rule: restart form_2 if user notices in form_3 that he made a mistake
condition:
active_loop: form_3
steps:
- intent: made_mistake
- action: action_deactivate_loop
- active_loop: null
- action: action_reset_form_2_slots
- action: form_2
- active_loop: form_2
When I try to train a model with these rules, a contradiction between those two is thrown. But since they have different conditions, I can’t see the contradiction. Also having the active_loop as first step instead of a condition doesn’t prevent the throwing of contradiction.
I’m wondering if Rasa isn’t able to tell different active_loops apart? But I didn’t found anything on that in the documentary, so maye you can help me…