Skip to main content

agrag.eval.answer.CitationScoreBreakdown

Bases: TypedDict

Available precision, recall, and sentence-count fields for one score.

All fields are optional because abstentions and uncited answers have partial breakdowns.

Attributes:

citation_precision​

citation_precision: float

citation_recall​

citation_recall: float

cited_sentences​

cited_sentences: int

sentence_rows​

sentence_rows: list[CitationSentenceRow]

sentences​

sentences: int

supported_sentences​

supported_sentences: int