providerplaneai
    Preparing search index...
    • Normalizes a byte-backed input source into in-memory bytes plus best-effort metadata.

      This helper intentionally does not accept remote URLs as a supported source form. Providers that support remote fetch-by-URL should branch on that before calling this helper.

      Parameters

      Returns Promise<ResolvedBinarySource>

      Normalized source bytes, MIME type, filename, and source kind.

      When the input is an unsupported shape or a string that is neither a data URI nor a local file path.