CitationDict¶
Dictionary Type¶
CitationDict
¶
Bases: TypedDict
Dictionary form of Citation.
Attributes¶
location
instance-attribute
¶
location: CitationLocation | CitationLocationDict | None
The precise location within the source document where the cited content can be found, including character positions, page numbers, or chunk identifiers.
source
instance-attribute
¶
source: str | None
The source from the original search result that provided the cited content.
source_content
instance-attribute
¶
source_content: Sequence[CitationSourceContent | CitationSourceContentDict] | None
The specific content from the source document that was referenced or cited in the generated response.