Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Answer Generation Model specification.
Instance Attribute Summary collapse
-
#model_version ⇒ String
Model version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec.
678 679 680 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 678 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_version ⇒ String
Model version. If not set, it will use the default stable model. Allowed
values are: stable, preview.
Corresponds to the JSON property modelVersion
676 677 678 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 676 def model_version @model_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
683 684 685 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 683 def update!(**args) @model_version = args[:model_version] if args.key?(:model_version) end |