Skip to main content
Version: 0.0.4

agrag.eval.extraction.ExtractionGold

Bases: BaseModel

One gold-annotated chunk of text.

Attributes:

  • id (str) – A stable id for the item. It seeds the chunk and document ids.
  • text (str) – The chunk text the extractor reads.
  • gold (ExtractionResult) – The annotation. Entity offsets index into text.

gold​

gold: ExtractionResult

id​

id: str

text​

text: str