Back to Runanywhere Sdks

@runanywhere/onnx

sdk/runanywhere-react-native/packages/onnx/README.md

0.20.12997 B
Original Source

@runanywhere/onnx

ONNX/Sherpa backend registration for the RunAnywhere React Native SDK — installs native STT, TTS, and VAD providers; public speech APIs live in @runanywhere/core.


Installation

bash
npm install @runanywhere/[email protected] @runanywhere/[email protected]
cd ios && pod install && cd ..

See the React Native SDK README for microphone permissions and platform setup.


Usage

typescript
import { RunAnywhere } from '@runanywhere/core';
import { ONNX } from '@runanywhere/onnx';

await RunAnywhere.initialize();
await ONNX.register();

// Register, download, load STT models and transcribe via @runanywhere/core

See the React Native SDK README for full STT/TTS/VAD examples.


Support


License

RunAnywhere License. See LICENSE.