In my custom actions, I want to pass 2 responses via dispatcher - utter_greet and utter_func.
class ActionGreetUser(Action):
def name(self) -> Text:
return "action_greet_user"
async def run(
self,
dispatcher: CollectingDispatcher,
tracker: Tracker,
domain: Dict[Text, Any],
) -> List[EventType]:
dispatcher.utter_message(response= "utter_greet")
return []
In the above code, only single response is implemented but how do I pass 2 responses? Also, the responses are not texts but buttons.