Interface AgentAssistantFeedbackOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentAssistantFeedback
,AgentAssistantFeedback.Builder
public interface AgentAssistantFeedbackOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentAssistantFeedback.AnswerRelevance
getAnswerRelevance()
Optional.int
getAnswerRelevanceValue()
Optional.AgentAssistantFeedback.DocumentCorrectness
getDocumentCorrectness()
Optional.int
getDocumentCorrectnessValue()
Optional.AgentAssistantFeedback.DocumentEfficiency
getDocumentEfficiency()
Optional.int
getDocumentEfficiencyValue()
Optional.AgentAssistantFeedback.KnowledgeSearchFeedback
getKnowledgeSearchFeedback()
Optional.AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder
getKnowledgeSearchFeedbackOrBuilder()
Optional.AgentAssistantFeedback.SummarizationFeedback
getSummarizationFeedback()
Feedback for conversation summarization.AgentAssistantFeedback.SummarizationFeedbackOrBuilder
getSummarizationFeedbackOrBuilder()
Feedback for conversation summarization.boolean
hasKnowledgeSearchFeedback()
Optional.boolean
hasSummarizationFeedback()
Feedback for conversation summarization.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAnswerRelevanceValue
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][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT]
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1;
- Returns:
- The enum numeric value on the wire for answerRelevance.
-
getAnswerRelevance
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][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT]
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1;
- Returns:
- The answerRelevance.
-
getDocumentCorrectnessValue
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:
- The enum numeric value on the wire for documentCorrectness.
-
getDocumentCorrectness
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:
- The documentCorrectness.
-
getDocumentEfficiencyValue
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][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3;
- Returns:
- The enum numeric value on the wire for documentEfficiency.
-
getDocumentEfficiency
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][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3;
- Returns:
- The documentEfficiency.
-
hasSummarizationFeedback
boolean hasSummarizationFeedback()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
- Returns:
- Whether the summarizationFeedback field is set.
-
getSummarizationFeedback
AgentAssistantFeedback.SummarizationFeedback getSummarizationFeedback()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
- Returns:
- The summarizationFeedback.
-
getSummarizationFeedbackOrBuilder
AgentAssistantFeedback.SummarizationFeedbackOrBuilder getSummarizationFeedbackOrBuilder()
Feedback for conversation summarization.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4;
-
hasKnowledgeSearchFeedback
boolean hasKnowledgeSearchFeedback()
Optional. Feedback for knowledge search.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the knowledgeSearchFeedback field is set.
-
getKnowledgeSearchFeedback
AgentAssistantFeedback.KnowledgeSearchFeedback getKnowledgeSearchFeedback()
Optional. Feedback for knowledge search.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The knowledgeSearchFeedback.
-
getKnowledgeSearchFeedbackOrBuilder
AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder getKnowledgeSearchFeedbackOrBuilder()
Optional. Feedback for knowledge search.
.google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];
-
-