Skip to main content
Module

x/openai/resources/beta/vector-stores/mod.ts>Files#uploadAndPoll

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

Add a file to a vector store and poll until processing is complete.

Parameters

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