Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Query Rephraser Model specification.
Instance Attribute Summary collapse
-
#model_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.
10568 10569 10570 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10568 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
10566 10567 10568 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10566 def model_type @model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10573 10574 10575 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10573 def update!(**args) @model_type = args[:model_type] if args.key?(:model_type) end |