Skip to content

Bedrock Runtime  >  Unions  >  CitationSourceContent

CitationSourceContent

Union Type

CitationSourceContent module-attribute

Contains the actual text content from a source document that is being cited or referenced in the model's response.

Union Member Types

CitationSourceContentText dataclass

The text content from the source document that is being cited.

Attributes

value instance-attribute
value: str

CitationSourceContentUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str