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
-
(::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance) —
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
#answer_relevance=
def answer_relevance=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance
-
value (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance) —
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) —
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
#document_correctness
def document_correctness() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness
-
(::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
-
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
-
(::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
- (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency) — 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.
#document_efficiency=
def document_efficiency=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency
- value (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency) — 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) — 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.
#knowledge_assist_feedback
def knowledge_assist_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback
- (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback) — Optional. Feedback for knowledge assist.
#knowledge_assist_feedback=
def knowledge_assist_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback
- value (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback) — Optional. Feedback for knowledge assist.
- (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback) — Optional. Feedback for knowledge assist.
#knowledge_search_feedback
def knowledge_search_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback
- (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback) — Optional. Feedback for knowledge search.
#knowledge_search_feedback=
def knowledge_search_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback
- value (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback) — Optional. Feedback for knowledge search.
- (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback) — Optional. Feedback for knowledge search.
#summarization_feedback
def summarization_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback
- (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback) — Optional. Feedback for conversation summarization.
#summarization_feedback=
def summarization_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback
- value (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback) — Optional. Feedback for conversation summarization.
- (::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback) — Optional. Feedback for conversation summarization.