Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec

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

Defines custom fine tuning spec.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec.



5244
5245
5246
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5244

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

Instance Attribute Details

#enable_search_adaptorBoolean Also known as: enable_search_adaptor?

Whether or not to enable and include custom fine tuned search adaptor model. Corresponds to the JSON property enableSearchAdaptor

Returns:

  • (Boolean)


5241
5242
5243
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5241

def enable_search_adaptor
  @enable_search_adaptor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5249
5250
5251
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5249

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