intent = agent.tracker_store.retrieve(response["recipient_id"]).current_state()['latest_message']['intent']['name']
To get the name of the most recent intent from the user
Whenever our mapping policy triggers an action on the action server the tracker resets with
return [UserUtteranceReverted()] as to not to interfere with the conversation flow.
So I cannot get the most recent intent from the DialogStateTracker if the intent triggers the Mapping Policy.
Is it possible to get a history from the Agent the includes the intents that are removed by the Mapping Policy?