Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Speechly Browser Client Example

Example web app showcasing the usage of Speechly Browser Client. Built with Speechly Browser Client, JavaScript and Parcel.

Getting started

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.

Installation

Open in CodeSandbox, or copy the example app using degit.

npx degit speechly/speechly/examples/browser-client-example my-app
cd my-app

Add 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 start

Enabling NLU features

By 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.

See our docs to learn more.

Documentation