GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1MetricxInstance (google_api_ai_platform v0.27.0)

View Source

Spec for MetricX instance - The fields used for evaluation are dependent on the MetricX version.

Attributes

  • prediction (type: String.t, default: nil) - Required. Output of the evaluated model.
  • reference (type: String.t, default: nil) - Optional. Ground truth used to compare against the prediction.
  • source (type: String.t, default: nil) - Optional. Source text in original language.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1MetricxInstance{
  prediction: String.t() | nil,
  reference: String.t() | nil,
  source: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.