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
vectorStoreFileBatchResponseVectorStoreFileBatchResponsecancellationTokenCancellationTokenOptional, 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
vectorStoreFileBatchResponseVectorStoreFileBatchResponsepollingIntervalint?Optional, time in milliseconds to wait before polling status.
timeoutint?Optional, timeout in seconds to cancel polling.
Defaults to 30 seconds.
Set to -1 for indefinite.cancellationTokenCancellationTokenOptional, CancellationToken.