Skip to content

Bedrock Agent Runtime  >  Structures  >  RetrievalContent

RetrievalContent

Structure Class

RetrievalContent dataclass

The content retrieved from a knowledge source.

Attributes

byte_content class-attribute instance-attribute
byte_content: bytes | None = None

The binary content of the retrieved item.

mime_type instance-attribute
mime_type: str

The MIME type of the retrieved content.

text class-attribute instance-attribute
text: str | None = None

The text content of the retrieved item.