Analyzing the Chat data

Hi Everyone, I am trying to export the chats from trackerstore to mongodb and analyze the all the chat data. Things I have completed :

  1. connecting the trackerStore to mongodb using endpoints.

Things I am not able to figureout:

  1. Is there an event named as “action_session_end” just like “action_session_start” ? I want to do the chat flow analysis to determine if the bot is able to keepup with user’s flow of the chat.

  2. To keep a track of all the slots and and entities set during the conversation.

  3. Any new flow to be designed .

  4. What can be the best tool for visualization of the above KPIs

Any other KPIs to keep in mind apart from the ones above?

Thank you

Is there an event named as “action_session_end”

No. There’s a conversation/sender id to track a users conversation but there’s no such thing as a session end. When a user utterance is received if the session timeout has been exceeded, action_session_start is run.

To keep a track of all the slots and and entities set during the conversation.

Not sure what your question is. You’ll find the events in the tracker documented here. There’s a slot event when a slot is set.

Any new flow to be designed

Not sure what you’re asking about here but the tracker doesn’t have the concept of a “flow”. It does have a conversation_id.

What can be the best tool for visualization of the above KPIs

You might want to take a look at Rasa Enterprise, Botario or Dashbot depending on what you’re looking for.

Hi Stephens, Thank you for addressing my query.

  1. I have set the “session_expiration_time” to 1 in the domain file. So I believe the session should be terminated after 1 minute of inactivity and when the user responds back after 1 minute a “action_session_start” event should be triggered. If the above point is correct, then it is not working at my end, “action_session_start” event is not when the user responds after minute.

  2. “To keep a track of all the slots and and entities set during the conversation.” Ill skip this for now.

  3. “Any new flow to be designed” My apologies, by this I meant any new Story to be created or any of the existing stories need to be improved.

  4. “What can be the best tool for visualization of the above KPIs”. Thank you for sharing the tools, I will check them out.