Interface ISpeechSynthesisProvider
- Namespace
- Oscova.Agents.Speech
- Assembly
- Oscova.Agents.dll
Provider-specific speech synthesis implementation used by the speech routing service.
public interface ISpeechSynthesisProviderProperties
- DefaultEndpoint
-
Gets the default API endpoint, or null for in-process providers.
- ModelPath
-
Gets the local model path when applicable.
- Type
-
Gets the provider type handled by this implementation.
Methods
- GetAvailableVoicesAsync(SpeechProviderConfig, string?, CancellationToken)
-
Returns the available voices for the supplied configuration.
- IsAvailableAsync(SpeechProviderConfig, string?, CancellationToken)
-
Determines whether the provider is currently available.
- StartDownloadAsync(SpeechProviderConfig, string?, CancellationToken)
-
Starts downloading any provider model assets if needed.
- StartSessionAsync(string, SpeechProviderConfig, string?, string?, CancellationToken)
-
Starts a synthesis session for the supplied user.
- StopSessionAsync(string, SpeechProviderConfig, CancellationToken)
-
Stops a synthesis session for the supplied user.
- SynthesizeAsync(string, SpeechProviderConfig, string?, SpeechSynthesisRequest, CancellationToken)
-
Synthesizes speech for the supplied request.