Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::AgentAssistantFeedback (v1.2.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::AgentAssistantFeedback.

Detail feedback of Agent Assist result.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#answer_relevance

def answer_relevance() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance
Returns

#answer_relevance=

def answer_relevance=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance
Parameter
Returns

#document_correctness

def document_correctness() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness
Returns
  • (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness) —

    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

#document_correctness=

def document_correctness=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness
Parameter
  • value (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness) —

    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
Returns
  • (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness) —

    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

#document_efficiency

def document_efficiency() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency
Returns

#document_efficiency=

def document_efficiency=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency
Parameter
Returns

#knowledge_assist_feedback

def knowledge_assist_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback
Returns

#knowledge_assist_feedback=

def knowledge_assist_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback
Parameter
Returns

#knowledge_search_feedback

def knowledge_search_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback
Returns

#knowledge_search_feedback=

def knowledge_search_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback
Parameter
Returns

#summarization_feedback

def summarization_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback
Returns

#summarization_feedback=

def summarization_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback
Parameter
Returns