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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/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::V1::AnswerQueryRequest::QueryUnderstandingSpec::QueryClassificationSpec::Type>

Returns Enabled query classification types.



704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 704

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, 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