Two Stage Fallback Policy with text/intents intead of buttons

What I’m trying to do is something like this:

class ActionCustomFallback(Action):
def name(self) -> Text:
    return "action_default_ask_affirmation"

def run(self, dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

    last_intent_name = tracker.latest_message['intent']['name']
    if last_intent_name == "A":
        message = "Did I get this right? You want A?"
    elif last_intent_name == "B":
        message = "Did I get this right? You want B?"
    dispatcher.utter_message(message)

    return [UserUtteranceReverted()]

But when I return to last UserUtterance, the user will affirm/deny but the fallback will not be called of course. So isn’t there a possibility to ask affirmation within the customized fallback action?

Hi, I am facing the same issue. I want text instead of buttons Was anyone able to solve it? Thanks in advance

Hi @mouni ! Unfortunately I couldn’t solve the problem either, and we have yet to receive a solution that works.

Cheers

@akelad any updates on this?