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.