Interface AgentAssistantFeedbackOrBuilder (4.53.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.v2.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1 [(.google.api.field_behavior) = OPTIONAL];

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.v2.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1 [(.google.api.field_behavior) = OPTIONAL];

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.v2.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2 [(.google.api.field_behavior) = OPTIONAL];

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.v2.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2 [(.google.api.field_behavior) = OPTIONAL];

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.v2.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3 [(.google.api.field_behavior) = OPTIONAL];

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.v2.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for documentEfficiency.

getKnowledgeSearchFeedback()

public abstract AgentAssistantFeedback.KnowledgeSearchFeedback getKnowledgeSearchFeedback()

Optional. Feedback for knowledge search.

.google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentAssistantFeedback.KnowledgeSearchFeedback

The knowledgeSearchFeedback.

getKnowledgeSearchFeedbackOrBuilder()

public abstract AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder getKnowledgeSearchFeedbackOrBuilder()

Optional. Feedback for knowledge search.

.google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder

getSummarizationFeedback()

public abstract AgentAssistantFeedback.SummarizationFeedback getSummarizationFeedback()

Optional. Feedback for conversation summarization.

.google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedback

The summarizationFeedback.

getSummarizationFeedbackOrBuilder()

public abstract AgentAssistantFeedback.SummarizationFeedbackOrBuilder getSummarizationFeedbackOrBuilder()

Optional. Feedback for conversation summarization.

.google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentAssistantFeedback.SummarizationFeedbackOrBuilder

hasKnowledgeSearchFeedback()

public abstract boolean hasKnowledgeSearchFeedback()

Optional. Feedback for knowledge search.

.google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the knowledgeSearchFeedback field is set.

hasSummarizationFeedback()

public abstract boolean hasSummarizationFeedback()

Optional. Feedback for conversation summarization.

.google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the summarizationFeedback field is set.