mellahysf
(MELLAH Youssef)
September 28, 2020, 3:10pm
1
Hi,
I have a story and I want that the user enters affirm OR deny intent, and if not, for example, repeat the same previous bot-message and continue to the next step only when the user enters intent of type affirm or deny.
How to do that as soon as possible?
as below my principal path story:
checking_coronavirus_path1
wichCheckCoronavirus
affirm OR deny
action_save_intent_and_user_message
utter_ask_cough
affirm OR deny
action_save_intent_and_user_message
utter_ask_fatigue
UlisesVD
(Ulises Vd)
September 29, 2020, 1:03am
2
you can use button in your utter_ask
utter_ask_*:
- text: question(yes, no)?
buttons:
- title: "yes"
payload: 'yes"'
- title: "no"
payload: 'no'
mellahysf
(MELLAH Youssef)
September 29, 2020, 10:07am
3
Thanks @UlisesVD for the reply.
No, I want not to use buttons !! There is another alternative?
Thanks
UlisesVD
(Ulises Vd)
September 29, 2020, 9:56pm
4
I think that’s the best option to control the input of the user.
other way you can use form validation or slot conditions check this for more info
or maybe this