Tune.Observation (Tune v0.5.0)

Copy Markdown View Source

The scores and outcome for one evaluated case.

Summary

Types

status()

@type status() :: :ok | :error | :interrupted | :skipped

t()

@type t() :: %Tune.Observation{
  calls: map(),
  eligible?: boolean(),
  error: term(),
  feedback: %{optional(atom()) => String.t() | nil},
  id: String.t() | nil,
  metadata: map(),
  output: term(),
  prediction: Tune.Prediction.t() | nil,
  score_errors: map(),
  scores: %{optional(atom()) => number()},
  status: status()
}