Class: Google::Cloud::DiscoveryEngine::V1::Answer::QueryUnderstandingInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::Answer::QueryUnderstandingInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/answer.rb
Overview
Query understanding information.
Defined Under Namespace
Classes: QueryClassificationInfo
Instance Attribute Summary collapse
-
#query_classification_info ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::QueryUnderstandingInfo::QueryClassificationInfo>
Query classification information.
Instance Attribute Details
#query_classification_info ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::QueryUnderstandingInfo::QueryClassificationInfo>
Returns Query classification information.
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 328 class QueryUnderstandingInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query classification information. # @!attribute [rw] type # @return [::Google::Cloud::DiscoveryEngine::V1::Answer::QueryUnderstandingInfo::QueryClassificationInfo::Type] # Query classification type. # @!attribute [rw] positive # @return [::Boolean] # Classification output. class QueryClassificationInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query classification types. module Type # Unspecified query classification type. TYPE_UNSPECIFIED = 0 # Adversarial query classification type. ADVERSARIAL_QUERY = 1 # Non-answer-seeking query classification type, for chit chat. NON_ANSWER_SEEKING_QUERY = 2 # Jail-breaking query classification type. JAIL_BREAKING_QUERY = 3 # Non-answer-seeking query classification type, for no clear intent. NON_ANSWER_SEEKING_QUERY_V2 = 4 end end end |