Class VectorStoreExtensions
- Namespace
- OpenAI.VectorStores
- Assembly
- OpenAI-DotNet.dll
public static class VectorStoreExtensions
- Inheritance
-
VectorStoreExtensions
- Inherited Members
Methods
UpdateAsync(VectorStoreFileBatchResponse, CancellationToken)
Get the latest status of the VectorStoreFileBatchResponse.
public static Task<VectorStoreFileBatchResponse> UpdateAsync(this VectorStoreFileBatchResponse vectorStoreFileBatchResponse, CancellationToken cancellationToken = default)
Parameters
vectorStoreFileBatchResponse
VectorStoreFileBatchResponsecancellationToken
CancellationTokenOptional, CancellationToken.
Returns
WaitForStatusChangeAsync(VectorStoreFileBatchResponse, int?, int?, CancellationToken)
Waits for Status to change.
public static Task<VectorStoreFileBatchResponse> WaitForStatusChangeAsync(this VectorStoreFileBatchResponse vectorStoreFileBatchResponse, int? pollingInterval = null, int? timeout = null, CancellationToken cancellationToken = default)
Parameters
vectorStoreFileBatchResponse
VectorStoreFileBatchResponsepollingInterval
int?Optional, time in milliseconds to wait before polling status.
timeout
int?Optional, timeout in seconds to cancel polling.
Defaults to 30 seconds.
Set to -1 for indefinite.cancellationToken
CancellationTokenOptional, CancellationToken.