Class: Google::Cloud::DiscoveryEngine::V1beta::Answer::QueryUnderstandingInfo::QueryClassificationInfo

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

Overview

Query classification information.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#positive::Boolean

Returns Classification output.

Returns:

  • (::Boolean)

    Classification output.



440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 440

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

    # User defined query classification type.
    USER_DEFINED_CLASSIFICATION_QUERY = 5
  end
end

#type::Google::Cloud::DiscoveryEngine::V1beta::Answer::QueryUnderstandingInfo::QueryClassificationInfo::Type

Returns Query classification type.



440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 440

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

    # User defined query classification type.
    USER_DEFINED_CLASSIFICATION_QUERY = 5
  end
end