Score:0

Access to historical Dialogflow data

cn flag

We use Dialogflow ES. Is there a way to access historical conversational data from Dialogflow or GCP that includes utterance, intent mapping, and confidence score for each utterance?

Thank you, Daren

Ricco D avatar
ar flag
Did you had time to check my answer? It helped you to solve your problem? If yes, please consider to accept and upvote it. [What should I do when someone answers my question?](https://serverfault.com/help/someone-answers).
Score:1
ar flag

Yes it is possible to access historical conversational logs via Dialogflow console. You can check this out by:

  • Open dialogflow console, select your agent
  • On the menu at the left side click "History"
  • Conversations are logged in a chronological order
  • Select and expand a conversation
  • There is a "more menu" at the right most part of an "Agent" conversation, click it
  • Choose "Raw interaction log". The content of this log is detectIntentResponse.

The detectIntentResponse contains the utterance, the mapped intent for it, confidence score, etc. You can see all the fields of detectIntentResponse here. For further information you can read History logs in Dialogflow.

Here is a snippet of a historical conversation: enter image description here

Please take note that there is no way to retrieve the logs via the Dialogflow API, thus we are only able view it in the Dialogflow console. But you can check Is there a way to retrieve the conversation history in Dialogflow?, for the stackdriver alternative where you can use the Stackdriver API to get the logs and probably store them somewhere.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.