Citation - Amazon Bedrock

Citation

Contains information about a citation that references a specific source document. Citations provide traceability between the model's generated response and the source documents that informed that response.

Contents

location

The precise location within the source document where the cited content can be found, including character positions, page numbers, or chunk identifiers.

Type: CitationLocation object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

sourceContent

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

Type: Array of CitationSourceContent objects

Required: No

title

The title or identifier of the source document being cited.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: