import { VectorStores } from "https://deno.land/x/openai@v4.52.7/resources/beta/vector-stores/vector-stores.ts";
class VectorStores
extends APIResource
import { VectorStores } from "https://deno.land/x/openai@v4.52.7/resources/beta/vector-stores/vector-stores.ts";
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(): Core.APIPromise<VectorStore>
Modifies a vector store.