Skip to content

ByteContentFile

Source code in docs_src/capo_bedrock_agent_runtime/types/byte_content_file.py
class ByteContentFile(TypedDict, closed=True):
    media_type: "capo_bedrock_agent_runtime.types.mime_type.MimeType"
    """<p>The MIME type of data contained in the file used for chat.</p>"""
    data: "capo_bedrock_agent_runtime.types.byte_content_blob.ByteContentBlob"
    """<p>The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. </p>"""

data instance-attribute

The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.

media_type instance-attribute

media_type: MimeType

The MIME type of data contained in the file used for chat.