Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::PointwiseMetricInstance (v0.60.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::PointwiseMetricInstance.

Pointwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#json_instance

def json_instance() -> ::String
Returns
  • (::String) — Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.

#json_instance=

def json_instance=(value) -> ::String
Parameter
  • value (::String) — Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.
Returns
  • (::String) — Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.