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 intotext.
gold
gold: ExtractionResult
id
id: str
text
text: str