Good Morning Please I’m looking for a solution to this situation/ I have an Intent and the response it depends to the user selection for example Bot: After this you should select how you will progress -option A, option B option C User: Option A Bot: ok you have to click this URL-A User: and if i wan’t option C? Bot: alright, click this URL-C use: let me see option B Bot: ok see this URL-B
intents: - optionA - optionB - optionC utter_menu: - text: "Select how you want to progress from below options." buttons: - title: Option A payload: /optionA - title: Option B payload: /optionB - title: Option C payload: /optionC utter_ask_optionA: - text: "Ok you have to click this URL-A (https: rasa.com)" utter_ask_optionB: - text: "Ok you have to click this URL-B (https: rasa.com)" utter_ask_optionC: - text: "Ok you have to click this URL-C (https: rasa.com)"
version: "2.0" nlu: - intent: optionA examples: | - let me see option A - can you show me option A please - please show me option A - A please - intent: optionB examples: | - let me see option B - can you show me option B please - please show me option B - B please - intent: optionC examples: | - let me see option C - can you show me option C please - please show me option C - C please
version: '2.0' stories: - story: optionA menu steps: - intent: optionA - action: utter_ask_optionA - story: optionB menu steps: - intent: optionB - action: utter_ask_optionB - story: optionC menu steps: - intent: optionC - action: utter_ask_optionC
Please, cross check and understand the concept, while typing there can be error, but I hope you understand this logic. Hope it will solve your issue.
@Fares This one
thanks a lot this is very helpful
@Fares Welcome Fares!
Hello @Fares If the above solution solve your issue, can I request please close this thread with the solution for others? Thanks.
yes, of course
Sorry but i didn’t get the solution bouton??
This what exactly I’m looking for thanks for the solution
@Fares Multiple choice - #2 by nik202 mark this as solution thread, if you not able to see solution tick, please change the topic to only rasa open source only remove feedback on rasa open source then you able to see the solution tick.