https://github.com/freeclimbapi/node-speech-recognition-how-to-guide
Node - Speech Recognition Tutorial
https://github.com/freeclimbapi/node-speech-recognition-how-to-guide
ivr tutorial
Last synced: 5 months ago
JSON representation
Node - Speech Recognition Tutorial
- Host: GitHub
- URL: https://github.com/freeclimbapi/node-speech-recognition-how-to-guide
- Owner: FreeClimbAPI
- Created: 2019-11-14T20:35:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T20:46:26.000Z (over 1 year ago)
- Last Synced: 2025-01-02T05:26:58.664Z (about 1 year ago)
- Topics: ivr, tutorial
- Language: JavaScript
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node - Speech Recognition How-To-Guide
This project serves as a guide to help you build an application with FreeClimb. View this how-to guide on [FreeClimb.com](https://docs.freeclimb.com/docs/add-speech-recognition-1#section-nodejs). Specifically, the project will:
- Make an outgoing Call
- Prompt the participant for a response
- Host a grammar file for speech recognition
- Use the users response
## Setting up your new app within your FreeClimb account
To get started using a FreeClimb account, follow the instructions [here](https://docs.freeclimb.com/docs/getting-started-with-freeclimb).
## Setting up the how-to guide
1. Install the node packages necessary using command:
```bash
$ yarn install
```
2. Configure environment variables (this how-to guide uses the [dotenv package](https://www.npmjs.com/package/dotenv)).
| ENV VARIABLE | DESCRIPTION |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| ACCOUNT_ID | Account ID which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| API_KEY | API key which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| APPLICATION_ID | Appliction IDs can be found under [Apps](https://www.freeclimb.com/dashboard/portal/applications) |
| HOST | The url of where your app is being hosted (e.g. yourHostedApp.com) |
3. Provide a value for the variables `to` and `from` in makeARecording.js. The `to` number is any phone number you wish to call. This number must be [verified](https://docs.freeclimb.com/docs/using-your-trial-account#section-verifying-outbound-numbers) (for trial users) and in E.164 format. `from` is a FreeClimb number that makes the call ([Incoming Numbers](https://www.freeclimb.com/dashboard/portal/numbers)).
## Runnning the how-to guide
1. Run the application using command:
```bash
$ node speechRecognition.js
```
## Getting Help
If you are experiencing difficulties, [contact support](https://freeclimb.com/support).