pub struct VoiceConfig {
pub enabled: bool,
pub audio: AudioConfig,
pub stt: SttConfig,
pub tts: TtsConfig,
pub vad: VadConfig,
pub wake: WakeConfig,
pub cloud_fallback: CloudFallbackConfig,
pub personalities: HashMap<String, VoicePersonality>,
}Expand description
Voice pipeline configuration.
Fields§
§enabled: boolEnable voice features globally.
audio: AudioConfigAudio capture settings.
stt: SttConfigSpeech-to-text settings.
tts: TtsConfigText-to-speech settings.
vad: VadConfigVoice activity detection settings.
wake: WakeConfigWake word detection settings.
cloud_fallback: CloudFallbackConfigCloud fallback settings.
personalities: HashMap<String, VoicePersonality>Per-agent voice personality map.
Keys are agent names/IDs, values are their voice personalities. Agents not in this map use the default personality.
Trait Implementations§
Source§impl Clone for VoiceConfig
impl Clone for VoiceConfig
Source§fn clone(&self) -> VoiceConfig
fn clone(&self) -> VoiceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VoiceConfig
impl Debug for VoiceConfig
Source§impl Default for VoiceConfig
impl Default for VoiceConfig
Source§fn default() -> VoiceConfig
fn default() -> VoiceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoiceConfig
impl<'de> Deserialize<'de> for VoiceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VoiceConfig
impl RefUnwindSafe for VoiceConfig
impl Send for VoiceConfig
impl Sync for VoiceConfig
impl Unpin for VoiceConfig
impl UnsafeUnpin for VoiceConfig
impl UnwindSafe for VoiceConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more