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

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

Uploads the given files concurrently and then creates a vector store file batch.

The concurrency limit is configurable using the maxConcurrency parameter.

Parameters

vectorStoreId: string
unnamed 1: { files: Uploadable[]; fileIds?: string[]; }
optional
options: Core.RequestOptions & { pollIntervalMs?: number; maxConcurrency?: number; }