I’m modifying the wellness bot and am having trouble resetting the slot values. I want to reset the slot values after all of them. have been filled and the bot displays them to the user.
Following the documentation, I tried adding to stories - action: action_deactivate_loop - active_loop: null but this caused an error in rule contradiction for the predicted action of listen. So, i then tried to add this same two actions to Rules, but it doesn’t reset the slots. When I engage the bot with a greeting and it accesses the health form, it assumes they’ve already been filled.
Here’s the relevant stories and rules
- rule: Submit form
condition:
# Condition that form is active.
- active_loop: health_form
steps:
- action: health_form
- active_loop: null
# The action we want to run when the form is submitted.
- action: action_submit_results
- action: utter_slots_values
- action: action_deactivate_loop
- active_loop: null
And, from stories:
- story: survey happy path
steps:
- intent: greet
- action: utter_greet
- intent: affirm
- action: health_form
- active_loop: health_form
I’m not sure why the rules would be contradicting action_listen. Thanks for any help and let me know if I can make this question more clear