IOpenAIClient.DeleteVectorStoreAsync
IOpenAIClient.DeleteVectorStoreAsync method
Deletes a vector store asynchronously.
public Task<DeleteStatusResponse> DeleteVectorStoreAsync(string vectorStoreId,
CancellationToken? cancellationToken = default)
Parameter | Type | Description |
---|---|---|
vectorStoreId | String | The ID of the vector store to delete. |
cancellationToken | Nullable`1 | A token to cancel the operation. |
Return Value
A task that represents the asynchronous operation. The task result contains the status of the delete operation.
Exceptions
exception | condition |
---|---|
AIClientException | Thrown when the vector store Id is null or empty. |
See Also
- class DeleteStatusResponse
- interface IOpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF