Skip to main content

agrag.eval.adapter.ScoreResult

Bases: NamedTuple

The outcome of one scoring function call.

Attributes:

  • score (float) – The score, normally between 0 and 1.
  • reason (str) – A short explanation shown in DeepEval reports.
  • breakdown (dict[str, Any]) – Extra numbers behind the score, such as per-class values.

breakdown​

breakdown: dict[str, Any]

reason​

reason: str

score​

score: float