Interface AgentAssistantFeedbackOrBuilder (4.24.0)

public interface AgentAssistantFeedbackOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswerRelevance()

public abstract AgentAssistantFeedback.AnswerRelevance getAnswerRelevance()

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

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1;

Returns
Type Description
AgentAssistantFeedback.AnswerRelevance

The answerRelevance.

getAnswerRelevanceValue()

public abstract int getAnswerRelevanceValue()

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

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1;

Returns
Type Description
int

The enum numeric value on the wire for answerRelevance.

getDocumentCorrectness()

public abstract AgentAssistantFeedback.DocumentCorrectness getDocumentCorrectness()

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

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2;

Returns
Type Description
AgentAssistantFeedback.DocumentCorrectness

The documentCorrectness.

getDocumentCorrectnessValue()

public abstract int getDocumentCorrectnessValue()

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

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2;

Returns
Type Description
int

The enum numeric value on the wire for documentCorrectness.

getDocumentEfficiency()

public abstract AgentAssistantFeedback.DocumentEfficiency getDocumentEfficiency()

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.

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3;

Returns
Type Description
AgentAssistantFeedback.DocumentEfficiency

The documentEfficiency.

getDocumentEfficiencyValue()

public abstract int getDocumentEfficiencyValue()

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.

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3;

Returns
Type Description
int

The enum numeric value on the wire for documentEfficiency.

getSummarizationFeedback()

public abstract AgentAssistantFeedback.SummarizationFeedback getSummarizationFeedback()

Feedback for conversation summarization.

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback

The summarizationFeedback.

getSummarizationFeedbackOrBuilder()

public abstract AgentAssistantFeedback.SummarizationFeedbackOrBuilder getSummarizationFeedbackOrBuilder()

Feedback for conversation summarization.

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedbackOrBuilder

hasSummarizationFeedback()

public abstract boolean hasSummarizationFeedback()

Feedback for conversation summarization.

.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;

Returns
Type Description
boolean

Whether the summarizationFeedback field is set.