Is it possible to make a numbered menu based bot with rasa?( options 1,2,3)

Hello everyone,

I know this is an old topic, but I took the opportunity to learn and improve my use of Rasa. Following some recommendations and the example given by @lcaraves , along with @Derguene 's repository, I created my own example.

I’d like to share the repository with you so you can take a look.

https://github.com/BartoGabriel/rasa-menu-sample

In essence, whenever I present a menu of options, I save the currently viewed menu in a slot (or None if there is no menu). Then, I detect user intentions for options (I chose to use a letter), and I have an action that detects the current menu and the user’s choice to determine how to proceed. I also perform some validations, such as ensuring that when an option arrives, there is actually a menu, or that the letters correspond to some of the options. Additionally, I allow the user to either type an option or state what they want directly. For example, if the user writes, “I want to schedule a new appointment,” the intent for a new appointment will be executed directly.

I hope this example helps you, and I would like to hear what more experienced people in Rasa think about my solution. I don’t have as much experience, and I’m not sure if I did it the right way.