Class: Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryClassificationSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb

Overview

Query classification specification.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#types::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryClassificationSpec::Type>

Returns Enabled query classification types.



578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
# File 'proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb', line 578

class QueryClassificationSpec
  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.
    NON_ANSWER_SEEKING_QUERY = 2
  end
end