Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricSpec
- 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
Spec for pairwise metric.
Instance Attribute Summary collapse
-
#metric_prompt_template ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PairwiseMetricSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1PairwiseMetricSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PairwiseMetricSpec
Returns a new instance of GoogleCloudAiplatformV1beta1PairwiseMetricSpec.
22407 22408 22409 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_prompt_template ⇒ String
Required. Metric prompt template for pairwise metric.
Corresponds to the JSON property metricPromptTemplate
22405 22406 22407 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22405 def metric_prompt_template @metric_prompt_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22412 22413 22414 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22412 def update!(**args) @metric_prompt_template = args[:metric_prompt_template] if args.key?(:metric_prompt_template) end |