Skip to content

BlobPayload

Source code in docs_src/capo_opensearchmemory/types/blob_payload.py
class BlobPayload(TypedDict, closed=True):
    content_type: "capo_opensearchmemory.types.blob_content_type.BlobContentType"
    """<p>The document's media type. Only <code>application/pdf</code> is supported. Any other value fails with <code>ValidationException</code>.</p>"""
    source: "capo_opensearchmemory.types.blob_source.BlobSource"
    """<p>The location of the document.</p>"""

content_type instance-attribute

content_type: BlobContentType

The document's media type. Only application/pdf is supported. Any other value fails with ValidationException.

source instance-attribute

source: BlobSource

The location of the document.