Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInstance
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInstance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Pointwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.
Instance Attribute Summary collapse
-
#json_instance ⇒ String
Instance specified as a json string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PointwiseMetricInstance
constructor
A new instance of GoogleCloudAiplatformV1PointwiseMetricInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PointwiseMetricInstance
Returns a new instance of GoogleCloudAiplatformV1PointwiseMetricInstance.
18672 18673 18674 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#json_instance ⇒ String
Instance specified as a json string. String key-value pairs are expected in
the json_instance to render PointwiseMetricSpec.instance_prompt_template.
Corresponds to the JSON property jsonInstance
18670 18671 18672 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18670 def json_instance @json_instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18677 18678 18679 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18677 def update!(**args) @json_instance = args[:json_instance] if args.key?(:json_instance) end |