Skip to content

CitationDict

Dictionary Type

CitationDict

Bases: TypedDict

Dictionary form of Citation.

Attributes

location instance-attribute

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

The specific content from the source document that was referenced or cited in the generated response.

title instance-attribute
title: str | None

The title or identifier of the source document being cited.