Class: Google::Cloud::Dialogflow::V2::AnswerRecord
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::AnswerRecord
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/answer_record.rb
Overview
Answer records are records to manage answer history and feedbacks for Dialogflow.
Currently, answer record includes:
- human agent assistant article suggestion
- human agent assistant faq article
It doesn't include:
DetectIntent
intent matchingDetectIntent
knowledge
Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated.
A typical workflow for customers provide feedback to an answer is:
- For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, AnswerRecord.name are returned to the customers.
- The customer uses the AnswerRecord.name to call the [UpdateAnswerRecord][] method to send feedback about a specific answer that they believe is wrong.
Instance Attribute Summary collapse
-
#agent_assistant_record ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantRecord
readonly
Output only.
-
#answer_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AnswerFeedback
Required.
-
#name ⇒ ::String
The unique identifier of this answer record.
Instance Attribute Details
#agent_assistant_record ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantRecord (readonly)
Returns Output only. The record for human agent assistant.
65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 65 class AnswerRecord include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#answer_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AnswerFeedback
Returns Required. The AnswerFeedback for this record. You can set this with AnswerRecords.UpdateAnswerRecord in order to give us feedback about this answer.
65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 65 class AnswerRecord include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The unique identifier of this answer record.
Format: projects/<Project ID>/locations/<Location
ID>/answerRecords/<Answer Record ID>
.
65 66 67 68 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 65 class AnswerRecord include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |