Hello,
I am using a Form and I want to stop the conversation in the middle of the form active period user specify.
I have a story like this
* greet OR entry_without_greet
- action_reset__info
- action_welcome_user
- re_form
- form{"name": "re_form"}
* stop_conversation
- utter_continue
* affirm
- re_form
- form{"name": null}
* affirm OR affirm_correct
- co_form
- form{"name": "co_form"}
- form{"name": null}
and I have the intent described in the nlu
## intent:stop_conversation
- cancel this conversation
- this is leading to nothing
- stop
- stop go back
- go back
- I think i made a mistake
- I want to start over
- Stop it
- I want to stop this
- stop it
- stop this
- STOP
- I dont want to go furthers
Following is the domain record
intents:
- stop_conversation:
use_entities: []
When I provide “stop” message in the middle, NLU correctly identifies the intent but the form continues without uttering the action for stop_conversation
intent.
Edit: I have one suspicion. In slot mapping of the actions.py I am using self.from_text() as the final option for all form slots.
"x": [self.from_entity(entity="x"), self.from_text()],
"y": [self.from_entity(entity="y"), self.from_text()],
Is that the problem?
I couldn’t figure out the reason for this behavior. Could you shed some light on this?