Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Query Rephraser Model specification.
Instance Attribute Summary collapse
-
#model_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.
4748 4749 4750 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_type ⇒ String
Optional. Enabled query rephraser model type. If not set, it will use LARGE by
default.
Corresponds to the JSON property modelType
4746 4747 4748 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4746 def model_type @model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4753 4754 4755 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4753 def update!(**args) @model_type = args[:model_type] if args.key?(:model_type) end |