CASCON Cognitive Lab
Table of Contents
- Overview
- Setup
- Text to Speech
- Personality Insights
- Web Application Client
- Training IBM Watson Services
Overview
This tutorial focuses on building a simple Node Express application that interfaces with IBM Watson cognitive services on Bluemix using Watson Cloud SDK. The application exposes two APIs, Text to Speech and Personality Insights, that an end-user or client can consume.
Setup
Follow instructions in setup section to create a cloud foundary application using Node JS runtime in Bluemix. This application is modified in later parts of this tutorial.
Text to Speech
This section will outline steps to necessary to augment
the Node application with
Watson Cloud SDK Text to Speech service. The application will expose
a REST API, /api/t2s
, that will accept a text message and voice type for Waton
Text to Speech service. API will return Base64 encoded audio data.
Personality Insights
Next, the Node application will expose another
REST API, /api/pi
, that will
interface with Watson Cloud SDK Personality Insights service. This
API will accept free form text and return the Big5 personality indicators.
Web Application Client
This is the optional part of the tutorial. A web application has been created that interfaces with the Node application. This section will outline steps necessary to invoke REST APIs created above from AngularJS application.
Training IBM Watson Services
A video demo of how to train IBM Watson Visual Recognition Service to detect Visual patterns.