#[non_exhaustive]pub enum Feature {
InitialPrompt,
TemperatureFallback,
LongForm,
Cancellation,
Pnc,
Itn,
Diarization,
Vocabulary,
ContextPrompt,
Instruct,
TranscriptPrefix,
}Expand description
A yes/no model capability probe (transcribe_model_supports).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InitialPrompt
The whisper run extension’s initial prompt / prompt tokens.
TemperatureFallback
Runs a multi-tier temperature fallback loop (whisper today).
LongForm
Handles audio longer than its native window in one run (whisper today).
Cancellation
Honors the abort callback between chunks/decode steps.
Pnc
Exposes a runtime PNC toggle.
Itn
Exposes a runtime ITN toggle.
Diarization
Produces structured speaker attribution.
Vocabulary
RunOptions::vocabulary is formatted for this model.
ContextPrompt
RunOptions::prompt reaches a transcription-conditioning slot.
Instruct
Supports Task::Instruct.
TranscriptPrefix
Honors RunOptions::prefix as forced decoder text.
Trait Implementations§
impl Copy for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
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