You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This folder has a basic node.js server to host files and generate auth tokens and
5
+
several html files with different examples of using the Speech SDJ.
6
+
7
+
There are also a few audio files to test with in the public/ folder.
8
+
9
+
10
+
Prerequisite
11
+
------------
12
+
13
+
* IBM Watson Speech to Text service credentials - see http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/getting_started/gs-credentials.shtml
14
+
*[Node.js](https://nodejs.org/en/) (see notes)
15
+
16
+
17
+
Setup
18
+
-----
19
+
20
+
1.`cd` into the `examples/` directory and run `npm install` to grab dependencies
21
+
2. edit `token-server.js` to include your service credentials
22
+
3. run `npm start`
23
+
4. Open your browser to http://localhost:3000/ to see the examples.
24
+
25
+
26
+
Notes
27
+
-----
28
+
29
+
* The examples all use jQuery, but it is not required to use the Speech SDK.
30
+
* The examples use a node.js server to generate tokens. Node.js is not requred, but *some server-side token generator is required*.
31
+
The SDK will not accept your service credentials directly, and you can not use them to generate a token client-side.
32
+
SDKs are available for [Node.js](https://github.com/watson-developer-cloud/node-sdk#authorization),
0 commit comments