Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/vector-stores/vector-stores.ts>VectorStores

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
class VectorStores
extends APIResource
import { VectorStores } from "https://deno.land/x/openai@v4.38.3/resources/beta/vector-stores/vector-stores.ts";

Properties

fileBatches: FileBatchesAPI.FileBatches
files: FilesAPI.Files

Methods

create(body: VectorStoreCreateParams, options?: Core.RequestOptions): Core.APIPromise<VectorStore>

Create a vector store.

del(vectorStoreId: string, options?: Core.RequestOptions): Core.APIPromise<VectorStoreDeleted>

Delete a vector store.

list(query?: VectorStoreListParams, options?: Core.RequestOptions): Core.PagePromise<VectorStoresPage, VectorStore>

Returns a list of vector stores.

list(options?: Core.RequestOptions): Core.PagePromise<VectorStoresPage, VectorStore>
retrieve(vectorStoreId: string, options?: Core.RequestOptions): Core.APIPromise<VectorStore>

Retrieves a vector store.

update(
vectorStoreId: string,
options?: Core.RequestOptions,
): Core.APIPromise<VectorStore>

Modifies a vector store.