Class: Google::Cloud::Dialogflow::V2::AgentAssistantFeedback
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::AgentAssistantFeedback
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/answer_record.rb
Overview
Detail feedback of Agent Assist result.
Defined Under Namespace
Modules: AnswerRelevance, DocumentCorrectness, DocumentEfficiency Classes: KnowledgeAssistFeedback, KnowledgeSearchFeedback, SummarizationFeedback
Instance Attribute Summary collapse
-
#answer_relevance ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance
Optional.
-
#document_correctness ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness
Optional.
-
#document_efficiency ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency
Optional.
-
#knowledge_assist_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback
Optional.
-
#knowledge_search_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback
Optional.
-
#summarization_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback
Optional.
Instance Attribute Details
#answer_relevance ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance
Returns 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.
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 216 class AgentAssistantFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Feedback for conversation summarization. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Timestamp when composing of the summary starts. # @!attribute [rw] submit_time # @return [::Google::Protobuf::Timestamp] # Timestamp when the summary was submitted. # @!attribute [rw] summary_text # @return [::String] # Text of actual submitted summary. # @!attribute [rw] text_sections # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Actual text sections of submitted summary. class SummarizationFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TextSectionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Feedback for knowledge search. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the answer was copied by the human agent or not. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # {::Google::Cloud::Dialogflow::V2::UpdateAnswerRecordRequest UpdateAnswerRecordRequest}. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeSearchFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Feedback for knowledge assist. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the suggested answer was copied by the human agent. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # UpdateAnswerRecordRequest. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeAssistFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Relevance of an answer. module AnswerRelevance # Answer relevance unspecified. ANSWER_RELEVANCE_UNSPECIFIED = 0 # Answer is irrelevant to query. IRRELEVANT = 1 # Answer is relevant to query. RELEVANT = 2 end # Correctness of document. module DocumentCorrectness # Document correctness unspecified. DOCUMENT_CORRECTNESS_UNSPECIFIED = 0 # Information in document is incorrect. INCORRECT = 1 # Information in document is correct. CORRECT = 2 end # Efficiency of document. module DocumentEfficiency # Document efficiency unspecified. DOCUMENT_EFFICIENCY_UNSPECIFIED = 0 # Document is inefficient. INEFFICIENT = 1 # Document is efficient. EFFICIENT = 2 end end |
#document_correctness ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness
Returns 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.
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 216 class AgentAssistantFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Feedback for conversation summarization. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Timestamp when composing of the summary starts. # @!attribute [rw] submit_time # @return [::Google::Protobuf::Timestamp] # Timestamp when the summary was submitted. # @!attribute [rw] summary_text # @return [::String] # Text of actual submitted summary. # @!attribute [rw] text_sections # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Actual text sections of submitted summary. class SummarizationFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TextSectionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Feedback for knowledge search. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the answer was copied by the human agent or not. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # {::Google::Cloud::Dialogflow::V2::UpdateAnswerRecordRequest UpdateAnswerRecordRequest}. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeSearchFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Feedback for knowledge assist. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the suggested answer was copied by the human agent. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # UpdateAnswerRecordRequest. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeAssistFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Relevance of an answer. module AnswerRelevance # Answer relevance unspecified. ANSWER_RELEVANCE_UNSPECIFIED = 0 # Answer is irrelevant to query. IRRELEVANT = 1 # Answer is relevant to query. RELEVANT = 2 end # Correctness of document. module DocumentCorrectness # Document correctness unspecified. DOCUMENT_CORRECTNESS_UNSPECIFIED = 0 # Information in document is incorrect. INCORRECT = 1 # Information in document is correct. CORRECT = 2 end # Efficiency of document. module DocumentEfficiency # Document efficiency unspecified. DOCUMENT_EFFICIENCY_UNSPECIFIED = 0 # Document is inefficient. INEFFICIENT = 1 # Document is efficient. EFFICIENT = 2 end end |
#document_efficiency ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency
Returns 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.
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 216 class AgentAssistantFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Feedback for conversation summarization. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Timestamp when composing of the summary starts. # @!attribute [rw] submit_time # @return [::Google::Protobuf::Timestamp] # Timestamp when the summary was submitted. # @!attribute [rw] summary_text # @return [::String] # Text of actual submitted summary. # @!attribute [rw] text_sections # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Actual text sections of submitted summary. class SummarizationFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TextSectionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Feedback for knowledge search. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the answer was copied by the human agent or not. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # {::Google::Cloud::Dialogflow::V2::UpdateAnswerRecordRequest UpdateAnswerRecordRequest}. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeSearchFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Feedback for knowledge assist. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the suggested answer was copied by the human agent. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # UpdateAnswerRecordRequest. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeAssistFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Relevance of an answer. module AnswerRelevance # Answer relevance unspecified. ANSWER_RELEVANCE_UNSPECIFIED = 0 # Answer is irrelevant to query. IRRELEVANT = 1 # Answer is relevant to query. RELEVANT = 2 end # Correctness of document. module DocumentCorrectness # Document correctness unspecified. DOCUMENT_CORRECTNESS_UNSPECIFIED = 0 # Information in document is incorrect. INCORRECT = 1 # Information in document is correct. CORRECT = 2 end # Efficiency of document. module DocumentEfficiency # Document efficiency unspecified. DOCUMENT_EFFICIENCY_UNSPECIFIED = 0 # Document is inefficient. INEFFICIENT = 1 # Document is efficient. EFFICIENT = 2 end end |
#knowledge_assist_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback
Returns Optional. Feedback for knowledge assist.
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 216 class AgentAssistantFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Feedback for conversation summarization. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Timestamp when composing of the summary starts. # @!attribute [rw] submit_time # @return [::Google::Protobuf::Timestamp] # Timestamp when the summary was submitted. # @!attribute [rw] summary_text # @return [::String] # Text of actual submitted summary. # @!attribute [rw] text_sections # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Actual text sections of submitted summary. class SummarizationFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TextSectionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Feedback for knowledge search. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the answer was copied by the human agent or not. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # {::Google::Cloud::Dialogflow::V2::UpdateAnswerRecordRequest UpdateAnswerRecordRequest}. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeSearchFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Feedback for knowledge assist. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the suggested answer was copied by the human agent. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # UpdateAnswerRecordRequest. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeAssistFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Relevance of an answer. module AnswerRelevance # Answer relevance unspecified. ANSWER_RELEVANCE_UNSPECIFIED = 0 # Answer is irrelevant to query. IRRELEVANT = 1 # Answer is relevant to query. RELEVANT = 2 end # Correctness of document. module DocumentCorrectness # Document correctness unspecified. DOCUMENT_CORRECTNESS_UNSPECIFIED = 0 # Information in document is incorrect. INCORRECT = 1 # Information in document is correct. CORRECT = 2 end # Efficiency of document. module DocumentEfficiency # Document efficiency unspecified. DOCUMENT_EFFICIENCY_UNSPECIFIED = 0 # Document is inefficient. INEFFICIENT = 1 # Document is efficient. EFFICIENT = 2 end end |
#knowledge_search_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback
Returns Optional. Feedback for knowledge search.
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 216 class AgentAssistantFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Feedback for conversation summarization. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Timestamp when composing of the summary starts. # @!attribute [rw] submit_time # @return [::Google::Protobuf::Timestamp] # Timestamp when the summary was submitted. # @!attribute [rw] summary_text # @return [::String] # Text of actual submitted summary. # @!attribute [rw] text_sections # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Actual text sections of submitted summary. class SummarizationFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TextSectionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Feedback for knowledge search. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the answer was copied by the human agent or not. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # {::Google::Cloud::Dialogflow::V2::UpdateAnswerRecordRequest UpdateAnswerRecordRequest}. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeSearchFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Feedback for knowledge assist. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the suggested answer was copied by the human agent. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # UpdateAnswerRecordRequest. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeAssistFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Relevance of an answer. module AnswerRelevance # Answer relevance unspecified. ANSWER_RELEVANCE_UNSPECIFIED = 0 # Answer is irrelevant to query. IRRELEVANT = 1 # Answer is relevant to query. RELEVANT = 2 end # Correctness of document. module DocumentCorrectness # Document correctness unspecified. DOCUMENT_CORRECTNESS_UNSPECIFIED = 0 # Information in document is incorrect. INCORRECT = 1 # Information in document is correct. CORRECT = 2 end # Efficiency of document. module DocumentEfficiency # Document efficiency unspecified. DOCUMENT_EFFICIENCY_UNSPECIFIED = 0 # Document is inefficient. INEFFICIENT = 1 # Document is efficient. EFFICIENT = 2 end end |
#summarization_feedback ⇒ ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback
Returns Optional. Feedback for conversation summarization.
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 216 class AgentAssistantFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Feedback for conversation summarization. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # Timestamp when composing of the summary starts. # @!attribute [rw] submit_time # @return [::Google::Protobuf::Timestamp] # Timestamp when the summary was submitted. # @!attribute [rw] summary_text # @return [::String] # Text of actual submitted summary. # @!attribute [rw] text_sections # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Actual text sections of submitted summary. class SummarizationFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TextSectionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # Feedback for knowledge search. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the answer was copied by the human agent or not. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # {::Google::Cloud::Dialogflow::V2::UpdateAnswerRecordRequest UpdateAnswerRecordRequest}. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeSearchFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Feedback for knowledge assist. # @!attribute [rw] answer_copied # @return [::Boolean] # Whether the suggested answer was copied by the human agent. # If the value is set to be true, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. # @!attribute [rw] clicked_uris # @return [::Array<::String>] # The URIs clicked by the human agent. The value is appended for each # UpdateAnswerRecordRequest. # If the value is not empty, # {::Google::Cloud::Dialogflow::V2::AnswerFeedback#clicked AnswerFeedback.clicked} # will be updated to be true. class KnowledgeAssistFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Relevance of an answer. module AnswerRelevance # Answer relevance unspecified. ANSWER_RELEVANCE_UNSPECIFIED = 0 # Answer is irrelevant to query. IRRELEVANT = 1 # Answer is relevant to query. RELEVANT = 2 end # Correctness of document. module DocumentCorrectness # Document correctness unspecified. DOCUMENT_CORRECTNESS_UNSPECIFIED = 0 # Information in document is incorrect. INCORRECT = 1 # Information in document is correct. CORRECT = 2 end # Efficiency of document. module DocumentEfficiency # Document efficiency unspecified. DOCUMENT_EFFICIENCY_UNSPECIFIED = 0 # Document is inefficient. INEFFICIENT = 1 # Document is efficient. EFFICIENT = 2 end end |