OpenAIClient.CancelVectorStoreFileBatchAsync
OpenAIClient.CancelVectorStoreFileBatchAsync method
Cancels a specific vector store file batch asynchronously.
public Task<VectorStoreFileBatchResponse> CancelVectorStoreFileBatchAsync(string vectorStoreId,
string fileBatchId, CancellationToken? cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| vectorStoreId | String | The ID of the vector store containing the file batch to cancel. |
| fileBatchId | String | The ID of the file batch to cancel. |
| 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 canceling the file batch.
Exceptions
| exception | condition |
|---|---|
| AIClientException | Thrown when the vector store Id is null or empty. |
| AIClientException | Thrown when the vector store file batch Id is null or empty. |
See Also
- class VectorStoreFileBatchResponse
- class OpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF