Using intent classification confidence score in dialogue model

Is there anyway by which I can use the confidence score generated while intent classification in dialogue model? I want to create a chatbot where my chatbot shows the top 3 intents as option to the user so that he himself may select the correct one. For eg, User >> May I know the restaurant near me Bot >> Are you looking for one of the following 1. restaurant_search 2. cuisine 3. book_table

where, restaurant_search, cuisine and book_table are intents in decreasing order of confidence score of them being the predicted intent of the user’s query.

Hey @ruchiawasthi63 welcome to the community!

You can do something like this with the twostage fallback action, described here: Fallback Actions

There’s an example of how to modify it in our demo bot repo