pub struct EnhancedTranscriptionParamsBuilder { /* private fields */ }Implementations§
Source§impl EnhancedTranscriptionParamsBuilder
impl EnhancedTranscriptionParamsBuilder
pub fn new() -> Self
pub fn base_params(self, params: FullParams) -> Self
pub fn language(self, lang: &str) -> Self
pub fn temperatures(self, temps: Vec<f32>) -> Self
pub fn compression_ratio_threshold(self, threshold: Option<f32>) -> Self
pub fn log_prob_threshold(self, threshold: Option<f32>) -> Self
pub fn build(self) -> EnhancedTranscriptionParams
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnhancedTranscriptionParamsBuilder
impl RefUnwindSafe for EnhancedTranscriptionParamsBuilder
impl Send for EnhancedTranscriptionParamsBuilder
impl Sync for EnhancedTranscriptionParamsBuilder
impl Unpin for EnhancedTranscriptionParamsBuilder
impl UnwindSafe for EnhancedTranscriptionParamsBuilder
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