Bagikan melalui


VectorStoresOperations interface

Antarmuka yang mewakili operasi VectorStores.

Properti

create

Membuat penyimpanan vektor.

delete

Menghapus objek penyimpanan vektor yang cocok dengan ID yang ditentukan.

get

Mengembalikan objek penyimpanan vektor yang cocok dengan ID yang ditentukan.

list

Mengembalikan daftar penyimpanan vektor.

update

Memodifikasi penyimpanan vektor yang ada.

Metode

createAndPoll(VectorStoresCreateVectorStoreOptionalParams)

Membuat penyimpanan vektor dan jajak pendapat.

Detail Properti

create

Membuat penyimpanan vektor.

create: (options?: VectorStoresCreateVectorStoreOptionalParams) => Promise<VectorStore>

Nilai Properti

(options?: VectorStoresCreateVectorStoreOptionalParams) => Promise<VectorStore>

delete

Menghapus objek penyimpanan vektor yang cocok dengan ID yang ditentukan.

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

Nilai Properti

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

get

Mengembalikan objek penyimpanan vektor yang cocok dengan ID yang ditentukan.

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

Nilai Properti

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

list

Mengembalikan daftar penyimpanan vektor.

list: (options?: VectorStoresListVectorStoresOptionalParams) => PagedAsyncIterableIterator<VectorStore, VectorStore[], PageSettings>

Nilai Properti

(options?: VectorStoresListVectorStoresOptionalParams) => PagedAsyncIterableIterator<VectorStore, VectorStore[], PageSettings>

update

Memodifikasi penyimpanan vektor yang ada.

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

Nilai Properti

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

Detail Metode

createAndPoll(VectorStoresCreateVectorStoreOptionalParams)

Membuat penyimpanan vektor dan jajak pendapat.

function createAndPoll(options?: VectorStoresCreateVectorStoreOptionalParams): PollerLike<OperationState<VectorStore>, VectorStore>

Parameter

Mengembalikan