Skip to content

RetrievedContextContent

Source code in docs_src/capo_context/types/retrieved_context_content.py
class RetrievedContextContent(TypedDict, closed=True):
    byte_content: NotRequired[
        "capo_context.types.retrieved_byte_content.RetrievedByteContent"
    ]
    """<p>The binary content of the retrieved entity.</p>"""
    text: NotRequired["capo_context.types.retrieved_text_content.RetrievedTextContent"]
    """<p>The text content of the retrieved entity.</p>"""
    mime_type: NotRequired["capo_context.types.mime_type.MimeType"]
    """<p>The Multipurpose Internet Mail Extensions (MIME) type of the retrieved content.</p>"""

byte_content instance-attribute

byte_content: NotRequired[RetrievedByteContent]

The binary content of the retrieved entity.

mime_type instance-attribute

mime_type: NotRequired[MimeType]

The Multipurpose Internet Mail Extensions (MIME) type of the retrieved content.

text instance-attribute

text: NotRequired[RetrievedTextContent]

The text content of the retrieved entity.