View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PairwiseMetricInstance (google_api_ai_platform v0.13.0)

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

Attributes

  • jsonInstance (type: String.t, default: nil) - Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PairwiseMetricInstance{
    jsonInstance: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.