Version: latest
agrag.common.data_models.evidence.EvidenceLocation
Bases: BaseModel
Where a passage sits in its source.
Attributes:
- char_start (
int | None) – The start offset of the passage text, or None for a passage with page provenance. - char_end (
int | None) – The exclusive end offset, or None for a passage with page provenance. - page_numbers (
list[int]) – The pages of a passage with page provenance. Empty for a text passage.
char_end
char_end: int | None = None
char_start
char_start: int | None = None
page_numbers
page_numbers: list[int] = Field(default_factory=list)