IOpenAIClient.GetVectorStoresAsync

IOpenAIClient.GetVectorStoresAsync method

Retrieves a list of vector stores asynchronously.

public Task<VectorStoreListResponse> GetVectorStoresAsync(
    VectorStoreListQueryParameters queryParameters = null, 
    CancellationToken? cancellationToken = default)
ParameterTypeDescription
queryParametersVectorStoreListQueryParametersOptional query parameters to filter the list of vector stores.
cancellationTokenNullable`1A token to cancel the operation.

Return Value

A task that represents the asynchronous operation. The task result contains a list of vector stores.

See Also