Skip to main content
Version: 0.10.0

Type Alias: WhisperSttModel<L>

WhisperSttModel<L> = object

Defined in: extensions/speech/tasks/whisperSpeechToText.ts:92

Paths and metadata required to instantiate a Whisper speech-to-text model.

Type Parameters​

L​

L extends WhisperLanguage = WhisperLanguage

Properties​

modelPath​

readonly modelPath: string

Defined in: extensions/speech/tasks/whisperSpeechToText.ts:94

Local path or remote URL of the .pte model.


supportedLanguages​

readonly supportedLanguages: readonly L[]

Defined in: extensions/speech/tasks/whisperSpeechToText.ts:98

List of supported language codes for this model.


tokenizerPath​

readonly tokenizerPath: string

Defined in: extensions/speech/tasks/whisperSpeechToText.ts:96

Local path or remote URL of the tokenizer file.


vadModel​

readonly vadModel: FsmnVadModel

Defined in: extensions/speech/tasks/whisperSpeechToText.ts:100

VAD model configuration used for speech segmentation.