Interface AgentAssistantFeedbackOrBuilder (4.7.3)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for documentEfficiency.