REST Resource: projects.locations.answerRecords

Resource: AnswerRecord

Answer records are records to manage answer history and feedbacks for Dialogflow.

Currently, answer record includes:

  • human agent assistant article suggestion
  • human agent assistant faq article

It doesn't include:

  • DetectIntent intent matching
  • DetectIntent knowledge

Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated.

A typical workflow for customers provide feedback to an answer is:

  1. For human agent assistant, customers get suggestion via suggestions.list API. Together with the answers, AnswerRecord.name are returned to the customers.
  2. The customer uses the AnswerRecord.name to call the [answerRecords.patch][] method to send feedback about a specific answer that they believe is wrong.
JSON representation
{
  "name": string,
  "answerFeedback": {
    object (AnswerFeedback)
  },

  // Union field record can be only one of the following:
  "agentAssistantRecord": {
    object (AgentAssistantRecord)
  }
  // End of list of possible types for union field record.
}
Fields
name

string

The unique identifier of this answer record. Required for AnswerRecords.UpdateAnswerRecord method. Format: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>.

answerFeedback

object (AnswerFeedback)

Optional. The AnswerFeedback for this record. You can set this with AnswerRecords.UpdateAnswerRecord in order to give us feedback about this answer.

Union field record. Output only. The record for this answer. record can be only one of the following:
agentAssistantRecord

object (AgentAssistantRecord)

Output only. The record for human agent assistant.

Methods

get
(deprecated)

Deprecated.

list

Returns the list of all answer records in the specified project in reverse chronological order.

patch

Updates the specified answer record.