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

Spec for fulfillment instance.

Attributes

  • instruction (type: String.t, default: nil) - Required. Inference instruction prompt to compare prediction with.
  • 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.GoogleCloudAiplatformV1FulfillmentInstance{
    instruction: String.t() | nil,
    prediction: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.