Skip to content

RetrievalContent

Source code in docs_src/capo_bedrock_agent_runtime/types/retrieval_content.py
class RetrievalContent(TypedDict, closed=True):
    byte_content: NotRequired["bytes"]
    """<p>The binary content of the retrieved item.</p>"""
    text: NotRequired["str"]
    """<p>The text content of the retrieved item.</p>"""
    mime_type: "capo_bedrock_agent_runtime.types.mime_type.MimeType"
    """<p>The MIME type of the retrieved content.</p>"""

byte_content instance-attribute

byte_content: NotRequired[bytes]

The binary content of the retrieved item.

mime_type instance-attribute

mime_type: MimeType

The MIME type of the retrieved content.

text instance-attribute

text: NotRequired[str]

The text content of the retrieved item.