OpenAIClient.ModifyVectorStoreAsync
OpenAIClient.ModifyVectorStoreAsync method
Modifies an existing vector store asynchronously.
public Task<VectorStoreResponse> ModifyVectorStoreAsync(string vectorStoreId,
VectorStoreModifyRequest vectorStoreModifyRequest,
CancellationToken? cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| vectorStoreId | String | The ID of the vector store to modify. |
| vectorStoreModifyRequest | VectorStoreModifyRequest | The request object containing modification details. |
| cancellationToken | Nullable`1 | A token to cancel the operation. |
Return Value
A task that represents the asynchronous operation. The task result contains the response from the vector store modification.
Exceptions
| exception | condition |
|---|---|
| AIClientException | Thrown when the vector store Id is null or empty. |
See Also
- class VectorStoreResponse
- class VectorStoreModifyRequest
- class OpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF