Class: Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryClassificationSpec
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryClassificationSpec
- 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
-
#types ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryClassificationSpec::Type>
Enabled query classification types.
Instance Attribute Details
#types ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryClassificationSpec::Type>
Returns Enabled query classification types.
746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb', line 746 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 # User defined query classification type. USER_DEFINED_CLASSIFICATION_QUERY = 5 end end |