Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec

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

Answer Generation Model specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec.



2963
2964
2965
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2963

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

Instance Attribute Details

#model_versionString

Model version. If not set, it will use the default stable model. Allowed values are: stable, preview. Corresponds to the JSON property modelVersion

Returns:

  • (String)


2961
2962
2963
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2961

def model_version
  @model_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2968
2969
2970
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2968

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