class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedback

Detail feedback of Agent Assistant result.

Attributes

answer_relevance[RW]

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 Corresponds to the JSON property `answerRelevance` @return [String]

document_correctness[RW]

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 Corresponds to the JSON property `documentCorrectness` @return [String]

document_efficiency[RW]

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. Corresponds to the JSON property `documentEfficiency` @return [String]

summarization_feedback[RW]

Feedback for conversation summarization. Corresponds to the JSON property `summarizationFeedback` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7622
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7627
def update!(**args)
  @answer_relevance = args[:answer_relevance] if args.key?(:answer_relevance)
  @document_correctness = args[:document_correctness] if args.key?(:document_correctness)
  @document_efficiency = args[:document_efficiency] if args.key?(:document_efficiency)
  @summarization_feedback = args[:summarization_feedback] if args.key?(:summarization_feedback)
end