Speechly is the Fast, Accurate, and Simple Voice Interface API for Web, Mobile and E-commerce.
Speechly website | Docs | Blog
speechly-browser-client
This repository contains source code for the browser client for Speechly SLU API.
NOTE: If you are using React, you can use React client instead.
Usage
Install the package:
# Using Yarn
yarn add @speechly/browser-client
# Using NPM
npm install --save @speechly/browser-client
Start using the client:
import { Client, Segment } from '@speechly/browser-client'
const client = new Client({appId: 'your-app-id'})
await client.initialize()
client.onSegmentChange((segment: Segment) => {
console.log('Received new segment from the API:', segment.intent, segment.entities, segment.words, segment.isFinal)
})
await client.startContext()
setTimeout(async function() {
await client.stopContext()
}, 3000)
Check out the browser-client-example repository for a demo app built using this client.
Documentation
You can find the detailed API documentation in GitHub repository.
You can also refer to Speechly Docs for more information.
Contributing
See contribution guide in CONTRIBUTING.md.
About Speechly
Speechly is a developer tool for building real-time multimodal voice user interfaces. It enables developers and designers to enhance their current touch user interface with voice functionalities for better user experience. Speechly key features:
Speechly key features
- Fully streaming API
- Multi modal from the ground up
- Easy to configure for any use case
- Fast to integrate to any touch screen application
- Supports natural corrections such as "Show me red – i mean blue t-shirts"
- Real time visual feedback encourages users to go on with their voice
Example application | Description |
---|
| Instead of using buttons, input fields and dropdowns, Speechly enables users to interact with the application by using voice. User gets real-time visual feedback on the form as they speak and are encouraged to go on. If there's an error, the user can either correct it by using traditional touch user interface or by voice. |