Skip to main content
Version: 0.7.x

Interface: SpeechToTextModelConfig

Defined in: packages/react-native-executorch/src/types/stt.ts:205

Configuration for Speech to Text model.

Properties

decoderSource

decoderSource: ResourceSource

Defined in: packages/react-native-executorch/src/types/stt.ts:219

A string that specifies the location of a .pte file for the decoder.


encoderSource

encoderSource: ResourceSource

Defined in: packages/react-native-executorch/src/types/stt.ts:214

A string that specifies the location of a .pte file for the encoder.


isMultilingual

isMultilingual: boolean

Defined in: packages/react-native-executorch/src/types/stt.ts:209

A boolean flag indicating whether the model supports multiple languages.


tokenizerSource

tokenizerSource: ResourceSource

Defined in: packages/react-native-executorch/src/types/stt.ts:224

A string that specifies the location to the tokenizer for the model.