pub struct FallbackHumeVoice {
pub caching_enabled: Option<bool>,
pub provider: ProviderTrue,
pub model: Option<ModelTrue>,
pub voice_id: String,
pub is_custom_hume_voice: Option<bool>,
pub description: 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.
model: Option<ModelTrue>
This is the model that will be used.
voice_id: String
The ID of the particular voice you want to use.
is_custom_hume_voice: Option<bool>
Indicates whether the chosen voice is a preset Hume AI voice or a custom voice.
description: Option<String>
Natural language instructions describing how the synthesized speech should sound, including but not limited to tone, intonation, pacing, and accent (e.g., ‘a soft, gentle voice with a strong British accent’). If a Voice is specified in the request, this description serves as acting instructions. If no Voice is specified, a new voice is generated based on this description.
chunk_plan: Option<ChunkPlan>
This is the plan for chunking the model output before it is sent to the voice provider.
Implementations§
Source§impl FallbackHumeVoice
impl FallbackHumeVoice
pub fn new(provider: ProviderTrue, voice_id: String) -> FallbackHumeVoice
Trait Implementations§
Source§impl Clone for FallbackHumeVoice
impl Clone for FallbackHumeVoice
Source§fn clone(&self) -> FallbackHumeVoice
fn clone(&self) -> FallbackHumeVoice
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FallbackHumeVoice
impl Debug for FallbackHumeVoice
Source§impl Default for FallbackHumeVoice
impl Default for FallbackHumeVoice
Source§fn default() -> FallbackHumeVoice
fn default() -> FallbackHumeVoice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackHumeVoice
impl<'de> Deserialize<'de> for FallbackHumeVoice
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
Source§impl PartialEq for FallbackHumeVoice
impl PartialEq for FallbackHumeVoice
Source§impl Serialize for FallbackHumeVoice
impl Serialize for FallbackHumeVoice
impl StructuralPartialEq for FallbackHumeVoice
Auto Trait Implementations§
impl Freeze for FallbackHumeVoice
impl RefUnwindSafe for FallbackHumeVoice
impl Send for FallbackHumeVoice
impl Sync for FallbackHumeVoice
impl Unpin for FallbackHumeVoice
impl UnwindSafe for FallbackHumeVoice
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