Method GetAvailableVoicesAsync
- Namespace
- Oscova.Agents.Speech
- Assembly
- Oscova.Agents.dll
GetAvailableVoicesAsync(SpeechProviderConfig, string?, CancellationToken)
Returns the available voices for the supplied configuration.
Task<IReadOnlyList<SpeechSynthesisVoice>> GetAvailableVoicesAsync(SpeechProviderConfig config, string? apiKey, CancellationToken ct = default)Parameters
configSpeechProviderConfigapiKeystring?ctCancellationToken