Method StartSessionAsync
- Namespace
- Oscova.Agents.Speech
- Assembly
- Oscova.Agents.dll
StartSessionAsync(string, SpeechProviderConfig, string?, string?, CancellationToken)
Starts a synthesis session for the supplied user.
Task StartSessionAsync(string userId, SpeechProviderConfig config, string? apiKey, string? voiceId, CancellationToken ct = default)Parameters
userIdstringconfigSpeechProviderConfigapiKeystring?voiceIdstring?ctCancellationToken