Chat with TJBot! This is a English speaking assistant for Kids not having English as their mother tongue.
This recipe uses the Watson Conversation and Watson Text to Speech services to turn TJ Bot into a chatting robot.
This recipe requires a TJBot with a microphone and a speaker.
First, make sure you have configured your Raspberry Pi for TJBot.
$ cd tjbot/bootstrap && sudo sh bootstrap.sh
$ npm install
Create instances of the Watson Conversation and Watson Text to Speech services and note the authentication credentials.
Import the workspace-sample.json
file into the Watson Conversation service and note the workspace ID.
Make a copy the default configuration file and update it with the Watson service credentials and the conversation workspace ID.
$ cp config.default.js config.js
$ nano config.js
<enter your credentials and the conversation workspace ID in the specified places>
Run!
sudo node conversation.js
Note the
sudo
command. Root user access is required to run
This project is licensed under Apache 2.0. Full license text is available in LICENSE.
See CONTRIBUTING.md.