Skip to content

Bedrock Agent Runtime  >  Structures  >  Citation

Citation

Structure Class

Citation dataclass

An object containing a segment of the generated response that is based on a source in the knowledge base, alongside information about the source.

This data type is used in the following API operations:

Attributes

generated_response_part class-attribute instance-attribute
generated_response_part: GeneratedResponsePart | None = None

Contains the generated response and metadata

retrieved_references class-attribute instance-attribute
retrieved_references: list[RetrievedReference] | None = None

Contains metadata about the sources cited for the generated response.