Overview
We have modularized the Suki Dictation SDK into framework-specific packages plus shared@suki-sdk/core for SukiAuthManager, so you install core in every setup and add either @suki-sdk/dictation or @suki-sdk/dictation-react depending on your environment.
The Dictation SDK is built for browser applications and requires
HTMLIFrameElement and postMessage (refer to Prerequisites guide for more details).Prerequisites
For the rest of this documentation, we will assume you have completed the Partner onboarding process. Refer to the Prerequisites guide for more information.Install the package
For vanilla JavaScript
Use@suki-sdk/dictation with @suki-sdk/core for plain JavaScript or frameworks other than React.
To install the packages, run one of the following commands:
For React
For React applications, use@suki-sdk/dictation-react with @suki-sdk/core. It includes DictationProvider and Dictation so you can wire dictation declaratively.
To install the packages, run one of the following commands: