pub struct ChunkingStrategyVadConfig {
pub type_: String,
pub prefix_padding_ms: Option<i64>,
pub silence_duration_ms: Option<i64>,
pub threshold: Option<f64>,
}Fields§
§type_: StringMust be set to server_vad to enable manual chunking using server side VAD.
prefix_padding_ms: Option<i64>Amount of audio to include before the VAD detected speech (in milliseconds).
silence_duration_ms: Option<i64>Duration of silence to detect speech stop (in milliseconds). With shorter values
threshold: Option<f64>Sensitivity threshold (0.0 to 1.0) for voice activity detection.
Trait Implementations§
Source§impl Clone for ChunkingStrategyVadConfig
impl Clone for ChunkingStrategyVadConfig
Source§fn clone(&self) -> ChunkingStrategyVadConfig
fn clone(&self) -> ChunkingStrategyVadConfig
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 ChunkingStrategyVadConfig
impl Debug for ChunkingStrategyVadConfig
Source§impl<'de> Deserialize<'de> for ChunkingStrategyVadConfig
impl<'de> Deserialize<'de> for ChunkingStrategyVadConfig
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 ChunkingStrategyVadConfig
impl RefUnwindSafe for ChunkingStrategyVadConfig
impl Send for ChunkingStrategyVadConfig
impl Sync for ChunkingStrategyVadConfig
impl Unpin for ChunkingStrategyVadConfig
impl UnsafeUnpin for ChunkingStrategyVadConfig
impl UnwindSafe for ChunkingStrategyVadConfig
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