ScoreAnswer
org.llm4s.jev.ScoreAnswer
final case class ScoreAnswer(score: Double, levels: Seq[ScoreLevel], confidence: Double) extends JevAnswer
The answer to a JevQuestion.Score.
Value parameters
- confidence
-
how certain the model is, from 0 to 1
- levels
-
every level with its description and probability, in level order
- score
-
the probability-weighted level, which can land between levels (
1.05is just above level 1). It lies within the levels: a score the API sends a rounding error outside them is clamped in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JevAnswerclass Objecttrait Matchableclass Any
Members list
In this article