pub struct FallbackElevenLabsVoice {Show 14 fields
pub caching_enabled: Option<bool>,
pub provider: ProviderTrue,
pub voice_id: ElevenLabsVoiceVoiceId,
pub stability: Option<f64>,
pub similarity_boost: Option<f64>,
pub style: Option<f64>,
pub use_speaker_boost: Option<bool>,
pub speed: Option<f64>,
pub optimize_streaming_latency: Option<i64>,
pub enable_ssml_parsing: Option<bool>,
pub auto_mode: Option<bool>,
pub model: Option<ModelTrue>,
pub language: Option<String>,
pub chunk_plan: Option<ChunkPlan>,
}
Fields§
§caching_enabled: Option<bool>
This is the flag to toggle voice caching for the assistant.
provider: ProviderTrue
This is the voice provider that will be used.
voice_id: ElevenLabsVoiceVoiceId
§stability: Option<f64>
Defines the stability for voice settings.
similarity_boost: Option<f64>
Defines the similarity boost for voice settings.
style: Option<f64>
Defines the style for voice settings.
use_speaker_boost: Option<bool>
Defines the use speaker boost for voice settings.
speed: Option<f64>
Defines the speed for voice settings.
optimize_streaming_latency: Option<i64>
Defines the optimize streaming latency for voice settings. Defaults to 3.
enable_ssml_parsing: Option<bool>
This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. @default false
auto_mode: Option<bool>
Defines the auto mode for voice settings. Defaults to false.
model: Option<ModelTrue>
This is the model that will be used. Defaults to ‘eleven_turbo_v2’ if not specified.
language: Option<String>
This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.
chunk_plan: Option<ChunkPlan>
This is the plan for chunking the model output before it is sent to the voice provider.
Implementations§
Source§impl FallbackElevenLabsVoice
impl FallbackElevenLabsVoice
pub fn new( provider: ProviderTrue, voice_id: ElevenLabsVoiceVoiceId, ) -> FallbackElevenLabsVoice
Trait Implementations§
Source§impl Clone for FallbackElevenLabsVoice
impl Clone for FallbackElevenLabsVoice
Source§fn clone(&self) -> FallbackElevenLabsVoice
fn clone(&self) -> FallbackElevenLabsVoice
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more