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

Spec for groundedness instance.

Attributes

  • context (type: String.t, default: nil) - Required. Background information provided in context used to compare against the prediction.
  • prediction (type: String.t, default: nil) - Required. Output of the evaluated model.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundednessInstance{
    context: String.t() | nil,
    prediction: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.