Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/beta/vector-stores/mod.ts>FileBatches#poll

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method FileBatches.prototype.poll
import { FileBatches } from "https://deno.land/x/openai@v4.38.5/resources/beta/vector-stores/mod.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.

Parameters

vectorStoreId: string
batchId: string
optional
options: Core.RequestOptions & { pollIntervalMs?: number; }