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 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.v2.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT]
         
        .google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1 [(.google.api.field_behavior) = OPTIONAL];
        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.v2.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT]
         
        .google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1 [(.google.api.field_behavior) = OPTIONAL];
        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.v2.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2 [(.google.api.field_behavior) = OPTIONAL];
        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.v2.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2 [(.google.api.field_behavior) = OPTIONAL];
        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.v2.AgentAssistantFeedback.document_efficiency]
         is
         [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
         
        .google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3 [(.google.api.field_behavior) = OPTIONAL];
        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.v2.AgentAssistantFeedback.document_efficiency]
         is
         [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
         
        .google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The documentEfficiency.
      • hasSummarizationFeedback

        boolean hasSummarizationFeedback()
         Optional. Feedback for conversation summarization.
         
        .google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the summarizationFeedback field is set.
      • getSummarizationFeedback

        AgentAssistantFeedback.SummarizationFeedback getSummarizationFeedback()
         Optional. Feedback for conversation summarization.
         
        .google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The summarizationFeedback.
      • getSummarizationFeedbackOrBuilder

        AgentAssistantFeedback.SummarizationFeedbackOrBuilder getSummarizationFeedbackOrBuilder()
         Optional. Feedback for conversation summarization.
         
        .google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];
      • hasKnowledgeSearchFeedback

        boolean hasKnowledgeSearchFeedback()
         Optional. Feedback for knowledge search.
         
        .google.cloud.dialogflow.v2.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.v2.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.v2.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];