View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1MetricxSpec (google_api_ai_platform v0.24.0)

Spec for MetricX metric.

Attributes

  • sourceLanguage (type: String.t, default: nil) - Optional. Source language in BCP-47 format.
  • targetLanguage (type: String.t, default: nil) - Optional. Target language in BCP-47 format. Covers both prediction and reference.
  • version (type: String.t, default: nil) - Required. Which version to use for evaluation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1MetricxSpec{
  sourceLanguage: String.t() | nil,
  targetLanguage: String.t() | nil,
  version: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.