Example web app showcasing the usage of Speechly Browser Client. Built with Speechly Browser Client, JavaScript and Parcel.
You'll need a Speechly account and a Speechly application that's using a Conformer model. Follow our quick start guide to get started with Speechly.
Open in CodeSandbox, or copy the example app using degit.
npx degit speechly/speechly/examples/browser-client-example my-app
cd my-appAdd the App ID of your Speechly application into app.js.
const client = new BrowserClient({
appId: 'YOUR-APP-ID', // Get your App ID from: https://api.speechly.com/dashboard/
logSegments: true,
debug: true,
vad: { enabled: isVadEnabled },
});Install dependencies and start development server.
npm install
npm startBy default, NLU features are disabled and Speechly operates in speech-to-text mode. To enable them, you’ll need to provide a configuration for your application. The example application will list the intent and entities for each speech segment below the transcript.