Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PointwiseMetricSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PointwiseMetricSpec
- 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 pointwise metric.
Instance Attribute Summary collapse
-
#metric_prompt_template ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PointwiseMetricSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1PointwiseMetricSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PointwiseMetricSpec
Returns a new instance of GoogleCloudAiplatformV1beta1PointwiseMetricSpec.
23578 23579 23580 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_prompt_template ⇒ String
Required. Metric prompt template for pointwise metric.
Corresponds to the JSON property metricPromptTemplate
23576 23577 23578 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23576 def metric_prompt_template @metric_prompt_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23583 23584 23585 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23583 def update!(**args) @metric_prompt_template = args[:metric_prompt_template] if args.key?(:metric_prompt_template) end |