Tried to access the intent name using tracker example tracker.last_msg['intent'].get('name')

Currently, I am using RASA 2.3.1 version. I am building my own website. Inside that, I want to retrieve the last response intent name.i tried to access the intent name using tracker example tracker.last_msg[‘intent’].get(‘name’) But it didn’t work out, can anyone help me with another way?

Hi @rushi2440, I’ve had a look at the DialogueStateTracker internals, this has an attribute latest_message, instead of last_msg - could you please try with that? Assuming you’re using the action server, here is the complete list of Tracker attributes. Let me know if this solves your issue?

Thanks, Let me check and get back t you. I appreciate your support.