pub struct QualityThresholds {
pub compression_ratio_threshold: Option<f32>,
pub log_prob_threshold: Option<f32>,
pub no_speech_threshold: Option<f32>,
}Expand description
Quality thresholds for transcription validation
Fields§
§compression_ratio_threshold: Option<f32>Maximum compression ratio (default: 2.4)
log_prob_threshold: Option<f32>Minimum average log probability (default: -1.0)
no_speech_threshold: Option<f32>Maximum no-speech probability (default: 0.6)
Trait Implementations§
Source§impl Clone for QualityThresholds
impl Clone for QualityThresholds
Source§fn clone(&self) -> QualityThresholds
fn clone(&self) -> QualityThresholds
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 QualityThresholds
impl Debug for QualityThresholds
Auto Trait Implementations§
impl Freeze for QualityThresholds
impl RefUnwindSafe for QualityThresholds
impl Send for QualityThresholds
impl Sync for QualityThresholds
impl Unpin for QualityThresholds
impl UnwindSafe for QualityThresholds
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