Table of Contents

Constructor PluginSpeechSettingsContext

Namespace
Oscova.Agents.Plugins
Assembly
Oscova.Agents.dll

PluginSpeechSettingsContext(SpeechProviderConfig, string?, IReadOnlyList<PluginSpeechCredential>, IReadOnlyList<SpeechSynthesisVoice>, bool, Func<Task>, Func<string, Task>, PluginSpeechModelDownload?)

Supplies a selected provider's unsaved speech configuration without credential values.

public PluginSpeechSettingsContext(SpeechProviderConfig Draft, string? DefaultModel, IReadOnlyList<PluginSpeechCredential> Credentials, IReadOnlyList<SpeechSynthesisVoice> Voices, bool VoiceSelectionDisabled, Func<Task> ChangedAsync, Func<string, Task> SelectVoiceAsync, PluginSpeechModelDownload? ModelDownload)

Parameters

Draft SpeechProviderConfig
DefaultModel string?
Credentials IReadOnlyList<PluginSpeechCredential>
Voices IReadOnlyList<SpeechSynthesisVoice>
VoiceSelectionDisabled bool
ChangedAsync Func<Task>
SelectVoiceAsync Func<string, Task>
ModelDownload PluginSpeechModelDownload?