Function: createQwen3AsrSpeechToText()
createQwen3AsrSpeechToText(
config,runtime?):Promise<Qwen3AsrSpeechToText>
Defined in: extensions/speech/tasks/qwen3AsrSpeechToText.ts:279
Loads a Qwen3-ASR model and returns a set of transcription helpers.
Parameters
config
Model paths and VAD configuration. See Qwen3AsrSttModel.
runtime?
any
Optional worklet runtime thread on which to run the model execution.
Returns
Promise<Qwen3AsrSpeechToText>
A promise resolving to the instantiated Qwen3AsrSpeechToText runner.
Throws
With code LOAD_FAILED if the model, tokenizer,
or VAD fails to load, or SCHEMA_MISMATCH if model schemas do not match the
Qwen3-ASR specification.