How to perform an action other than backtracking when predicting a nlu_fallback

Hello to you. I am developing a chatbot with the rasa 2.5 version and I would like to know how to perform an action other than rollback after predicting a nlu_fallback. I will want my bot to ask the user twice to rephrase their sentence and if it still can’t figure out what the user is saying, have my bot take a custom action

Here is an example scenario:

user: I want to go to the cinema

Bot: I don’t understand what you are saying

user: I need to go to the cinema

Bot: I don’t understand what you are saying

user: I want to see a movie at the cinema

Bot: Sorry but I can’t understand you. Please try again later

1 Like