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

Spec for pairwise question answering quality instance.

Attributes

  • baselinePrediction (type: String.t, default: nil) - Required. Output of the baseline model.
  • context (type: String.t, default: nil) - Required. Text to answer the question.
  • instruction (type: String.t, default: nil) - Required. Question Answering prompt for LLM.
  • prediction (type: String.t, default: nil) - Required. Output of the candidate model.
  • reference (type: String.t, default: nil) - Optional. Ground truth used to compare against the prediction.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.