VectorStoresOperations interface
Interfejs reprezentujący operacje VectorStores.
Właściwości
| create | Tworzy magazyn wektorów. |
| delete | Usuwa obiekt magazynu wektorów pasujący do określonego identyfikatora. |
| get | Zwraca obiekt magazynu wektorów pasujący do określonego identyfikatora. |
| list | Zwraca listę magazynów wektorów. |
| update | Modyfikuje istniejący magazyn wektorów. |
Metody
| create |
Tworzy magazyn wektorów i ankietę. |
Szczegóły właściwości
create
Tworzy magazyn wektorów.
create: (options?: VectorStoresCreateVectorStoreOptionalParams) => Promise<VectorStore>
Wartość właściwości
(options?: VectorStoresCreateVectorStoreOptionalParams) => Promise<VectorStore>
delete
Usuwa obiekt magazynu wektorów pasujący do określonego identyfikatora.
delete: (vectorStoreId: string, options?: VectorStoresDeleteVectorStoreOptionalParams) => Promise<VectorStoreDeletionStatus>
Wartość właściwości
(vectorStoreId: string, options?: VectorStoresDeleteVectorStoreOptionalParams) => Promise<VectorStoreDeletionStatus>
get
Zwraca obiekt magazynu wektorów pasujący do określonego identyfikatora.
get: (vectorStoreId: string, options?: VectorStoresGetVectorStoreOptionalParams) => Promise<VectorStore>
Wartość właściwości
(vectorStoreId: string, options?: VectorStoresGetVectorStoreOptionalParams) => Promise<VectorStore>
list
Zwraca listę magazynów wektorów.
list: (options?: VectorStoresListVectorStoresOptionalParams) => PagedAsyncIterableIterator<VectorStore, VectorStore[], PageSettings>
Wartość właściwości
(options?: VectorStoresListVectorStoresOptionalParams) => PagedAsyncIterableIterator<VectorStore, VectorStore[], PageSettings>
update
Modyfikuje istniejący magazyn wektorów.
update: (vectorStoreId: string, options?: VectorStoresModifyVectorStoreOptionalParams) => Promise<VectorStore>
Wartość właściwości
(vectorStoreId: string, options?: VectorStoresModifyVectorStoreOptionalParams) => Promise<VectorStore>
Szczegóły metody
createAndPoll(VectorStoresCreateVectorStoreOptionalParams)
Tworzy magazyn wektorów i ankietę.
function createAndPoll(options?: VectorStoresCreateVectorStoreOptionalParams): PollerLike<OperationState<VectorStore>, VectorStore>