Getting the conversation length

Hi, I’m currently working on my master thesis using Rasa. The topic is related to fallback policies and how to recover from a breakdown in the conversation. I am working on designing a new fallback action that decides on the policy based on the conversation length. I also need to see how many times the intent recognition confidence was below a certain threshold. I appreciate any ideas on how to access these parameters in Rasa.

you can access them from tracker.events it contains a list of all events that happen. Number of ActionExecuted corresponds to the length of a conversation. All intent confidences can be extracted from UserUttered events

1 Like