pub struct HumeVoice {
pub caching_enabled: Option<bool>,
pub provider: ProviderTrue,
pub model: Option<ModelTrue>,
pub voice_id: String,
pub is_custom_hume_voice: Option<bool>,
pub chunk_plan: Option<ChunkPlan>,
pub description: Option<String>,
pub fallback_plan: Option<FallbackPlan>,
}
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.
chunk_plan: Option<ChunkPlan>
This is the plan for chunking the model output before it is sent to the voice provider.
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.
fallback_plan: Option<FallbackPlan>
This is the plan for voice provider fallbacks in the event that the primary voice provider fails.