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#createAndPoll

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
method FileBatches.prototype.createAndPoll
import { FileBatches } from "https://deno.land/x/openai@v4.52.3/resources/beta/vector-stores/mod.ts";

Create a vector store batch and poll until all files have been processed.

Parameters

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

Returns

Promise<VectorStoreFileBatch>