Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec
- 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
Defines custom fine tuning spec.
Instance Attribute Summary collapse
-
#enable_search_adaptor ⇒ Boolean
(also: #enable_search_adaptor?)
Whether or not to enable and include custom fine tuned search adaptor model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec.
7812 7813 7814 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_search_adaptor ⇒ Boolean 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
7809 7810 7811 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7809 def enable_search_adaptor @enable_search_adaptor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7817 7818 7819 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7817 def update!(**args) @enable_search_adaptor = args[:enable_search_adaptor] if args.key?(:enable_search_adaptor) end |