CitationLocation¶
Union Type¶
CitationLocation
module-attribute
¶
CitationLocation = Union[CitationLocationWeb | CitationLocationDocumentChar | CitationLocationDocumentPage | CitationLocationDocumentChunk | CitationLocationSearchResultLocation | CitationLocationUnknown]
Specifies the precise location within a source document where cited content can be found. This can include character-level positions, page numbers, or document chunks depending on the document type and indexing method.
Union Member Types¶
CitationLocationDocumentChar
dataclass
¶
The character-level location within the document where the cited content is found.
Attributes¶
CitationLocationDocumentPage
dataclass
¶
The page-level location within the document where the cited content is found.
Attributes¶
CitationLocationDocumentChunk
dataclass
¶
The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.