Package version:

Interface VectorStoresOperations

Interface representing a VectorStores operations.

interface VectorStoresOperations {
    create: ((options?: VectorStoresCreateVectorStoreOptionalParams) => Promise<VectorStore>);
    delete: ((vectorStoreId: string, options?: VectorStoresDeleteVectorStoreOptionalParams) => Promise<VectorStoreDeletionStatus>);
    get: ((vectorStoreId: string, options?: VectorStoresGetVectorStoreOptionalParams) => Promise<VectorStore>);
    list: ((options?: VectorStoresListVectorStoresOptionalParams) => PagedAsyncIterableIterator<VectorStore, {}, PageSettings>);
    update: ((vectorStoreId: string, options?: VectorStoresModifyVectorStoreOptionalParams) => Promise<VectorStore>);
    createAndPoll(options?: VectorStoresCreateVectorStoreOptionalParams): PollerLike<OperationState<VectorStore>, VectorStore>;
}

Properties

Creates a vector store.

delete: ((vectorStoreId: string, options?: VectorStoresDeleteVectorStoreOptionalParams) => Promise<VectorStoreDeletionStatus>)

Deletes the vector store object matching the specified ID.

get: ((vectorStoreId: string, options?: VectorStoresGetVectorStoreOptionalParams) => Promise<VectorStore>)

Returns the vector store object matching the specified ID.

Returns a list of vector stores.

update: ((vectorStoreId: string, options?: VectorStoresModifyVectorStoreOptionalParams) => Promise<VectorStore>)

Modifies an existing vector store.

Methods