Skip to content

petewins/tjbot-daisy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conversation

Chat with TJBot!

This recipe uses the Watson Conversation and Watson Text to Speech services to turn TJ into a chatting robot.

Hardware

This recipe requires a TJBot with a microphone and a speaker.

Build and Run

First, make sure you have configured your Raspberry Pi for TJBot.

$ cd tjbot/bootstrap && sudo sh bootstrap.sh

Go to the recipes/conversation folder and install the dependencies.

$ cd ../recipes/conversation
$ 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 TJBot recipes.

Watson Services

License

This project is licensed under Apache 2.0. Full license text is available in LICENSE.

Contributing

See CONTRIBUTING.md.

About

TJBot for prevention services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published