pub enum RealtimeSessionTurnDetectionEagerness {
Low,
Medium,
High,
Auto,
}Expand description
Used only for semantic_vad mode. The eagerness of the model to respond. low will wait longer for the user to continue speaking, high will respond more quickly. auto is the default and is equivalent to medium.
Variants§
Trait Implementations§
Source§impl Clone for RealtimeSessionTurnDetectionEagerness
impl Clone for RealtimeSessionTurnDetectionEagerness
Source§fn clone(&self) -> RealtimeSessionTurnDetectionEagerness
fn clone(&self) -> RealtimeSessionTurnDetectionEagerness
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 Default for RealtimeSessionTurnDetectionEagerness
impl Default for RealtimeSessionTurnDetectionEagerness
Source§fn default() -> RealtimeSessionTurnDetectionEagerness
fn default() -> RealtimeSessionTurnDetectionEagerness
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeSessionTurnDetectionEagerness
impl<'de> Deserialize<'de> for RealtimeSessionTurnDetectionEagerness
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 RealtimeSessionTurnDetectionEagerness
impl PartialEq for RealtimeSessionTurnDetectionEagerness
Source§fn eq(&self, other: &RealtimeSessionTurnDetectionEagerness) -> bool
fn eq(&self, other: &RealtimeSessionTurnDetectionEagerness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RealtimeSessionTurnDetectionEagerness
impl StructuralPartialEq for RealtimeSessionTurnDetectionEagerness
Auto Trait Implementations§
impl Freeze for RealtimeSessionTurnDetectionEagerness
impl RefUnwindSafe for RealtimeSessionTurnDetectionEagerness
impl Send for RealtimeSessionTurnDetectionEagerness
impl Sync for RealtimeSessionTurnDetectionEagerness
impl Unpin for RealtimeSessionTurnDetectionEagerness
impl UnwindSafe for RealtimeSessionTurnDetectionEagerness
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