View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedback (google_api_dialogflow v0.88.3)

Detail feedback of Agent Assist result.

Attributes

  • answerRelevance (type: String.t, default: nil) - Optional. Whether or not the suggested answer is relevant. For example: Query: "Can I change my mailing address?" Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * answer_relevance: AnswerRelevance.IRRELEVANT
  • documentCorrectness (type: String.t, default: nil) - Optional. Whether or not the information in the document is correct. For example: Query: "Can I return the package in 2 days once received?" Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." Ground truth: "No return or exchange is allowed." [document_correctness]: INCORRECT
  • documentEfficiency (type: String.t, default: nil) - Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, document_efficiency is DocumentEfficiency.INEFFICIENT.
  • knowledgeAssistFeedback (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback.t, default: nil) - Optional. Feedback for knowledge assist.
  • knowledgeSearchFeedback (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback.t, default: nil) - Optional. Feedback for knowledge search.
  • summarizationFeedback (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback.t, default: nil) - Optional. Feedback for conversation summarization.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedback{
    answerRelevance: String.t() | nil,
    documentCorrectness: String.t() | nil,
    documentEfficiency: String.t() | nil,
    knowledgeAssistFeedback:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback.t()
      | nil,
    knowledgeSearchFeedback:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback.t()
      | nil,
    summarizationFeedback:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.