Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1HumanFeedbackConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Configures Reinforcement Learning to use human feedback during tuning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1HumanFeedbackConfig

Returns a new instance of GoogleCloudAiplatformV1beta1HumanFeedbackConfig.



11685
11686
11687
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11685

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

Instance Attribute Details

#preference_dataset_uriString

Required. Cloud Storage path to human preference data. Corresponds to the JSON property preferenceDatasetUri

Returns:

  • (String)


11683
11684
11685
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11683

def preference_dataset_uri
  @preference_dataset_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11690
11691
11692
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11690

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