Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec
- 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
Specification of the model.
Instance Attribute Summary collapse
-
#version ⇒ String
The model version used to generate the summary.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec.
5565 5566 5567 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5565 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ String
The model version used to generate the summary. Supported values are: *
stable
: string. Default value when no value is specified. Uses a generally
available, fine-tuned version of the text-bison@001 model. * preview
: string.
(Public preview) Uses a fine-tuned version of the text-bison@002 model. This
model works only for summaries in English.
Corresponds to the JSON property version
5563 5564 5565 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5563 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5570 5571 5572 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5570 def update!(**args) @version = args[:version] if args.key?(:version) end |