Version: latest
agrag.common.data_models.entity_search.SupportingPassage
Bases: BaseModel
A visible passage that supports an entity or a relation.
Attributes:
- evidence_id (
str) – The evidence id of the passage. Fetch it to read the text. - document_key (
str) – The key of the document the passage belongs to. - location (
EvidenceLocation) – The offsets or pages of the passage. - heading_path (
list[str]) – The headings above the passage, from the outermost to the innermost. Empty when the passage has none.
document_key
document_key: str
evidence_id
evidence_id: str
heading_path
heading_path: list[str] = Field(default_factory=list)
location
location: EvidenceLocation