Member Junction
    Preparing search index...

    A binary output to deliver as a platform file: either a generated MediaOutput or a file the agent inlined as a data: URI. fileName, when present, wins over any derived name.

    Deliberately not Pick<MediaOutput, ...>: MediaOutput.modality is MediaModality ('Image' | 'Audio' | 'Video'), and a file attachment is none of those.

    interface UploadableFile {
        data?: string;
        fileName?: string;
        label?: string;
        mimeType?: string;
        modality?: string;
    }
    Index

    Properties

    data?: string

    Base64-encoded bytes.

    fileName?: string

    Preferred name; when absent the adapter derives one from label and the MIME type.

    label?: string
    mimeType?: string
    modality?: string