ExTypesafe.Response.ScoreAnswer (ExTypesafe v0.2.0)

Copy Markdown View Source

Answer to a Score question.

  • score — probability-weighted value across your rubric levels
  • legend — each numeric rubric level mapped to its description
  • probabilities — each numeric rubric level mapped to its probability
  • confidence — how certain the model is (0.0–1.0)

Summary

Types

t()

@type t() :: %ExTypesafe.Response.ScoreAnswer{
  confidence: number() | nil,
  legend: %{optional(String.t()) => ExTypesafe.Question.entry()},
  probabilities: %{optional(String.t()) => number()},
  score: number() | nil,
  type: String.t()
}