ExTypesafe.Response.ScoreAnswer (ExTypesafe v0.1.0)

Copy Markdown View Source

Answer to a Score question.

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

Summary

Types

t()

@type t() :: %ExTypesafe.Response.ScoreAnswer{
  confidence: float(),
  probabilities: [float()],
  score: float(),
  type: String.t()
}