pub struct FullParams { /* private fields */ }Implementations§
Source§impl FullParams
impl FullParams
pub fn new(strategy: SamplingStrategy) -> Self
pub fn language(self, lang: &str) -> Self
pub fn translate(self, translate: bool) -> Self
pub fn no_context(self, no_context: bool) -> Self
pub fn no_timestamps(self, no_timestamps: bool) -> Self
pub fn single_segment(self, single_segment: bool) -> Self
pub fn print_special(self, print_special: bool) -> Self
pub fn print_progress(self, print_progress: bool) -> Self
pub fn print_realtime(self, print_realtime: bool) -> Self
pub fn print_timestamps(self, print_timestamps: bool) -> Self
pub fn token_timestamps(self, token_timestamps: bool) -> Self
pub fn thold_pt(self, thold_pt: f32) -> Self
pub fn thold_ptsum(self, thold_ptsum: f32) -> Self
pub fn max_len(self, max_len: i32) -> Self
pub fn split_on_word(self, split_on_word: bool) -> Self
pub fn max_tokens(self, max_tokens: i32) -> Self
pub fn debug_mode(self, debug_mode: bool) -> Self
pub fn audio_ctx(self, audio_ctx: i32) -> Self
pub fn tdrz_enable(self, tdrz_enable: bool) -> Self
pub fn suppress_regex(self, suppress_regex: Option<&str>) -> Self
pub fn initial_prompt(self, prompt: &str) -> Self
pub fn prompt_tokens(self, tokens: &[i32]) -> Self
pub fn temperature(self, temperature: f32) -> Self
pub fn temperature_inc(self, temperature_inc: f32) -> Self
pub fn entropy_thold(self, entropy_thold: f32) -> Self
pub fn logprob_thold(self, logprob_thold: f32) -> Self
pub fn n_threads(self, n_threads: i32) -> Self
pub fn offset_ms(self, offset_ms: i32) -> Self
pub fn duration_ms(self, duration_ms: i32) -> Self
Trait Implementations§
Source§impl Clone for FullParams
impl Clone for FullParams
Source§fn clone(&self) -> FullParams
fn clone(&self) -> FullParams
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 FullParams
impl Default for FullParams
impl Send for FullParams
impl Sync for FullParams
Auto Trait Implementations§
impl Freeze for FullParams
impl RefUnwindSafe for FullParams
impl Unpin for FullParams
impl UnwindSafe for FullParams
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