Hi @Aviad… Buttons send the
payload and not the text that is displayed.
If you want the person to be able to type “no” instead of clicking on the button, you need something like this in your
## intent: deny
- No way
## intent: confirm
The button payloads would be “/confirm” or “/deny”. You can send the button configuration in the
domain.yml file like this (in the
templates section, depending on which version of Rasa you’re using):
- text: "Did you mean 'Who is my contact person in HR?'"
- title: Yes
- title: No
In relation to the flow in your stories, you create both sequences in your
stories.md file. Something like this:
If you use additional questions, you have to create different versions of the stories according to the flow you want to interpret.