Skip to content

Bedrock Runtime  >  Structures  >  CitationsContentBlock

CitationsContentBlock

Structure Class

CitationsContentBlock dataclass

A content block that contains both generated text and associated citation information. This block type is returned when document citations are enabled, providing traceability between the generated content and the source documents that informed the response.

Attributes

citations class-attribute instance-attribute
citations: list[Citation] | None = None

An array of citations that reference the source documents used to generate the associated content.

content class-attribute instance-attribute
content: list[CitationGeneratedContent] | None = None

The generated content that is supported by the associated citations.