Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::PairwiseMetricInstance (v0.48.0)

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

Pairwise 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 PairwiseMetricSpec.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 PairwiseMetricSpec.instance_prompt_template.
Returns
  • (::String) — Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.