Hi all, I met problem with the form deactivation. I followed the instruction in Rasa Docs as follow to deactivate the form, and use the same stories and rules setting up. But it seems the action ‘action_deactivate_loop’ not work at all. Could someone can point out the solution how I can deactivate the active form with the user’s cancel intent? Thanks!!
@XSUN Hi! I think you need to consider only one from both and the best scenario is story, I hope you created the intent: stop and few training examples in nlu.yml and utter_ask_continue.
forms:
restaurant_form:
required_slots:
cuisine:
- type: from_entity
entity: cuisine
num_people:
- type: from_entity
entity: number
stories:
- story: User interrupts the form and doesn't want to continue
steps:
- intent: request_restaurant
- action: restaurant_form
- active_loop: restaurant_form
- intent: stop
- action: utter_ask_continue
- intent: stop
- action: action_deactivate_loop
- active_loop: null
@XSUN Hey, hope you fine ? Can I request if above suggestion solved you issue please close this thread as solution for others or if not please share yours. Thanks.