TranscribeRequest constructor
TranscribeRequest({
- required String audio,
- @Default(false) bool isTranslate,
- @Default(6) int threads,
- @Default(false) bool isVerbose,
- @Default("auto") String language,
- @Default(false) bool isSpecialTokens,
- @Default(false) bool isNoTimestamps,
- @Default(1) int nProcessors,
- @Default(false) bool splitOnWord,
- @Default(false) bool noFallback,
- @Default(false) bool diarize,
- @Default(false) bool speedUp,
Implementation
factory TranscribeRequest({
required String audio,
@Default(false) bool isTranslate,
@Default(6) int threads,
@Default(false) bool isVerbose,
@Default("auto") String language,
@Default(false) bool isSpecialTokens,
@Default(false) bool isNoTimestamps,
@Default(1) int nProcessors,
@Default(false) bool splitOnWord,
@Default(false) bool noFallback,
@Default(false) bool diarize,
@Default(false) bool speedUp,
}) = _TranscribeRequest;