IOpenAIClient.GetAssistantsAsync

IOpenAIClient.GetAssistantsAsync method

Retrieves a list of assistants asynchronously.

public Task<AssistantListResponse> GetAssistantsAsync(
    AssistantListQueryParameters queryParameters = null, 
    CancellationToken? cancellationToken = default)
ParameterTypeDescription
queryParametersAssistantListQueryParametersOptional query parameters to filter the list of assistants.
cancellationTokenNullable`1A token to cancel the operation.

Return Value

A task that represents the asynchronous operation. The task result contains the list of assistants.

See Also