I want to add a main menu button in my chatbot, clicking which the user will go back to the main menu. I tried doing it by implementing action_restart but I want this action to pass a greet message in backend so that user sees the query buttons which appear after first greet message. Attached my filesdomain.yml (4.8 KB) nlu.md (1.4 KB) stories.md (3.7 KB)
Just so I understand. Your goal is not to have a menu button in the front-end but you’d like to have a menu button in the dialogue? At all times?
Yes correct
Part of me thinks this might get tricky. Rasa internally will make a prediction on what action to take. The action could be to show a button to press. The action could also be to listen. You can only do one action at a time though.
You may be able to save some state in the slots but I wonder… is there a reason why this must be a button? Is there no other way this could get handled when you think in terms of dialogue design?