Class: Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::QueryUnderstandingSpec::QueryRephraserSpec::ModelSpec
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::QueryUnderstandingSpec::QueryRephraserSpec::ModelSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb
Overview
Query Rephraser Model specification.
Defined Under Namespace
Modules: ModelType
Instance Attribute Summary collapse
Instance Attribute Details
#model_type ⇒ ::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::QueryUnderstandingSpec::QueryRephraserSpec::ModelSpec::ModelType
Returns Optional. Enabled query rephraser model type. If not set, it will use LARGE by default.
751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 751 class ModelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Query rephraser types. Currently only supports single-hop # (max_rephrase_steps = 1) model selections. For multi-hop # (max_rephrase_steps > 1), there is only one default model. module ModelType # Unspecified model type. MODEL_TYPE_UNSPECIFIED = 0 # Small query rephraser model. Gemini 1.0 XS model. SMALL = 1 # Large query rephraser model. Gemini 1.0 Pro model. LARGE = 2 end end |