import { toFile } from "https://deno.land/x/openai@v4.45.0/uploads.ts";
Helper for creating a File to pass to an SDK upload method from a variety of different data formats
Parameters
value: ToFileInput | PromiseLike<ToFileInput>
the raw content of the file. Can be an Uploadable, BlobLikePart, or AsyncIterable of BlobLikeParts