pub struct FallbackGladiaTranscriber {
pub provider: ProviderTrue,
pub model: Option<ModelTrue>,
pub language_behaviour: Option<LanguageBehaviourTrue>,
pub language: Option<LanguageTrue>,
pub languages: Option<LanguagesTrue>,
pub transcription_hint: Option<String>,
pub prosody: Option<bool>,
pub audio_enhancer: Option<bool>,
pub confidence_threshold: Option<f64>,
}
Fields§
§provider: ProviderTrue
This is the transcription provider that will be used.
model: Option<ModelTrue>
§language_behaviour: Option<LanguageBehaviourTrue>
§language: Option<LanguageTrue>
Defines the language to use for the transcription. Required when languageBehaviour is ‘manual’.
languages: Option<LanguagesTrue>
Defines the languages to use for the transcription. Required when languageBehaviour is ‘manual’.
transcription_hint: Option<String>
Provides a custom vocabulary to the model to improve accuracy of transcribing context specific words, technical terms, names, etc. If empty, this argument is ignored. ⚠️ Warning ⚠️: Please be aware that the transcription_hint field has a character limit of 600. If you provide a transcription_hint longer than 600 characters, it will be automatically truncated to meet this limit.
prosody: Option<bool>
If prosody is true, you will get a transcription that can contain prosodies i.e. (laugh) (giggles) (malefic laugh) (toss) (music)… Default value is false.
audio_enhancer: Option<bool>
If true, audio will be pre-processed to improve accuracy but latency will increase. Default value is false.
confidence_threshold: Option<f64>
Transcripts below this confidence threshold will be discarded. @default 0.4
Implementations§
Source§impl FallbackGladiaTranscriber
impl FallbackGladiaTranscriber
pub fn new(provider: ProviderTrue) -> FallbackGladiaTranscriber
Trait Implementations§
Source§impl Clone for FallbackGladiaTranscriber
impl Clone for FallbackGladiaTranscriber
Source§fn clone(&self) -> FallbackGladiaTranscriber
fn clone(&self) -> FallbackGladiaTranscriber
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more