providerplaneai
    Preparing search index...
    • Resolves the upload filename used for Mistral OCR file-backed inputs.

      Parameters

      • Optionalfilename: string

        Explicit filename supplied by the caller.

      • OptionalmimeType: string

        MIME type used to infer an extension when needed.

      • defaultFileName: string = "ocr-input"

        Fallback base filename.

      Returns string

      Filename to use for the upload.