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.05 is 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 Serializable
trait Product
trait Equals
trait JevAnswer
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product