import { FileBatches } from "https://deno.land/x/openai@v4.53.2/resources/beta/vector-stores/file-batches.ts";
Wait for the given file batch to be processed.
Note: this will return even if one of the files failed to process, you need to check batch.file_counts.failed_count to handle this case.
Returns
Promise<VectorStoreFileBatch>