Skip to main content

agrag.eval.extraction.EntityBreakdown

Bases: RelationBreakdown

The score_breakdown of an entity quality metric for one case.

per_label counts the exact-match results for each entity label.

Attributes:

kind​

kind: Literal['entity', 'relation']

per_label​

per_label: dict[str, LabelCounts]

relaxed_y_pred​

relaxed_y_pred: list[int]

relaxed_y_true​

relaxed_y_true: list[int]

y_pred​

y_pred: list[int]

y_true​

y_true: list[int]