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

x/openai/resources/beta/mod.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.52.0/resources/beta/mod.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.