Multiple intent classification for fallback

I am trying to create a custom fallback policy that offers multiple intents as an option instead of just one. I was thinking I could grab the intents from the tracker in the custom action but it looks like Rasa only classifies messages into a single intent and its confidence, it doesnt give a list of intents and their corresponding confidence score. Is that correct? Or is there some way to get the intents with the second and third highest confidence scores too?

Hello @tatianaf,

the tracker only return the closest intent send from RASA Core, and if it doesn’t met the threshold the fallback action is called.

Nevertheless, when using interactive learning and you deny the predicted intent it lists each one with the scores, so it can be done, but I think it would need some debug/tweak at RASA Core code.

Cya!