Hi community, Does anyone help me to solve this problem… I want to access intent of two messages above. we can access the intent of previous message by using tracker.latest_message[“intent”].get(“name”) But i want to access intent of a message which is above latest message… Any ideas/suggestions…
you could achieve this by iterating over the events in your tracker:
for event in tracker.events:
<do sth>
I hope that helped!