Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec.



10075
10076
10077
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10075

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#versionString

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 model. For more information, see Answer generation model versions and lifecycle. * preview: string. (Public preview) Uses a preview model. For more information, see Answer generation model versions and lifecycle. Corresponds to the JSON property version

Returns:

  • (String)


10073
10074
10075
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10073

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10080
10081
10082
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10080

def update!(**args)
  @version = args[:version] if args.key?(:version)
end