-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from ibmtjbot/refactor/assistant
Refactor/assistant
- Loading branch information
Showing
16 changed files
with
159 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# IBM TJBot | ||
<img src="images/tjbot.jpg" width="85%"> | ||
|
||
[IBM Watson Maker Kits](http://ibm.biz/mytjbot) are a collection of DIY open source templates to build things with [Watson](https://www.ibm.com/watson/developercloud/services-catalog.html) in a fun and easy way. [IBM TJBot](http://ibm.biz/mytjbot) is the first maker kit in the collection. You can 3D print or laser cut the robot body, then use one of our [recipes](recipes) to bring him to life! | ||
[IBM Watson Maker Kits](http://ibm.biz/mytjbot) are a collection of DIY open source templates to build things with [Watson](https://www.ibm.com/watson/products-services/) in a fun and easy way. [IBM TJBot](http://ibm.biz/mytjbot) is the first maker kit in the collection. You can 3D print or laser cut the robot body, then use one of our [recipes](recipes) to bring him to life! | ||
|
||
In addition, you can unleash your own creativity and create new recipes that bring TJBot to life using any of the available [Watson services](https://www.ibm.com/watson/developercloud/services-catalog.html)! | ||
In addition, you can unleash your own creativity and create new recipes that bring TJBot to life using any of the available [Watson services](https://www.ibm.com/watson/products-services/)! | ||
|
||
**TJBot only works with a Raspberry Pi.** | ||
|
||
|
@@ -45,7 +45,7 @@ Just run that command to download and install TJBot: | |
curl -sL http://ibm.biz/tjbot-bootstrap | sudo sh - | ||
``` | ||
|
||
[Recipes](recipes) are step-by-step instructions to bring your TJBot to life with [Watson](https://www.ibm.com/watson/developercloud/services-catalog.html). | ||
[Recipes](recipes) are step-by-step instructions to bring your TJBot to life with [Watson](https://www.ibm.com/watson/products-services/). | ||
|
||
We have provided three initial [recipes](recipes) for you: | ||
|
||
|
@@ -56,18 +56,12 @@ We have provided three initial [recipes](recipes) for you: | |
After checking out our sample recipes, we encourage you to take a look at [featured recipes](featured) created by members of our community. | ||
|
||
# Contribute to TJBot | ||
TJBot is an open source project designed to make it fun and easy to interact with [Watson](https://www.ibm.com/watson/developercloud/services-catalog.html). We’d love to see what you can make with him. Here are some ideas to get you started. | ||
TJBot is an open source project designed to make it fun and easy to interact with [Watson](https://www.ibm.com/watson/products-services/). We’d love to see what you can make with him! | ||
|
||
- **Visual recognition**. Make TJBot recognize your face using the [Watson Visual Recognition](https://www.ibm.com/watson/developercloud/visual-recognition.html) service and the Raspberry Pi Camera. | ||
- **IoT**. Let TJBot control your smart home devices using the [Watson IoT platform](https://www.ibm.com/internet-of-things/platform/watson-iot-platform/). | ||
- **Connected robots**. Program multiple TJBots to chat with each other! | ||
|
||
If you would like your own recipe included in our [featured recipe](featured) list, please [send us email](mailto:[email protected]) with a link to your repository and a demo video. | ||
If you would like your own recipe included in our [featured recipe](featured) list, please [open an issue](../../issues) with a link to your repository and a demo video. | ||
|
||
# About TJBot | ||
[TJBot](http://ibm.biz/mytjbot) was affectionately named after Thomas J. Watson, the first Chairman and CEO of IBM. TJBot was created by [Maryam Ashoori](https://github.com/maryamashoori) at IBM Research as an experiment to find the best practices in the design and implementation of cognitive objects. He was born on November 9, 2016 via [this blog post](https://www.ibm.com/blogs/research/2016/11/calling-makers-meet-tj-bot/). | ||
|
||
Feel free to [contact the team](mailto:[email protected]) with any questions (except technical issues). For technical issues, please create an [issue](https://github.com/ibmtjbot/tjbot/issues) instead. | ||
|
||
# License | ||
This project uses the [Apache License Version 2.0](LICENSE) software license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
|
||
# Recipes | ||
Recipes are step by step instructions to help you connect your TJBot to [Watson](https://www.ibm.com/watson/developercloud/services-catalog.html). | ||
Recipes are step by step instructions to help you connect your TJBot to [Watson](https://www.ibm.com/watson/products-services/). | ||
|
||
The recipes are designed to be run on a Raspberry Pi. You can either run one of our sample recipes below, or create your own recipe that brings your ideas to life using [Watson](https://www.ibm.com/watson/developercloud/services-catalog.html)! | ||
The recipes are designed to be run on a Raspberry Pi. You can either run one of our sample recipes below, or create your own recipe that brings your ideas to life using [Watson](https://www.ibm.com/watson/products-services/)! | ||
|
||
### [Speech to Text](speech_to_text) | ||
> Use your voice to control TJBot's LED with Watson [[instructables](http://www.instructables.com/id/Use-Your-Voice-to-Control-a-Light-With-Watson/)] | ||
This receipe lets you control the [8mm NeoPixel RGB led](https://www.adafruit.com/products/1734) using voice commands. It uses the [Watson Speech to Text API](https://www.ibm.com/watson/developercloud/speech-to-text.html). | ||
This receipe lets you control the [8mm NeoPixel RGB led](https://www.adafruit.com/products/1734) using voice commands. It uses the [Watson Speech to Text](https://www.ibm.com/watson/services/speech-to-text/) API. | ||
|
||
[![link to a full video for use voice to control LED](https://img.youtube.com/vi/Wvnh7ie3D6o/0.jpg)](https://www.youtube.com/watch?v=Wvnh7ie3D6o) | ||
|
||
### [Sentiment Analysis](sentiment_analysis) | ||
> Make TJBot respond to emotions with Watson [[instructables](http://www.instructables.com/id/Make-Your-Robot-Respond-to-Emotions-Using-Watson/)] | ||
This recipe shines TJBot's [8mm NeoPixel RGB LED](https://www.adafruit.com/products/1734) different colors based on the emotions present in Twitter for a given keyword. It uses [Watson Tone Analyzer](http://www.ibm.com/watson/developercloud/tone-analyzer.html) and the [Twitter API](https://dev.twitter.com/overview/api). | ||
This recipe shines TJBot's [8mm NeoPixel RGB LED](https://www.adafruit.com/products/1734) different colors based on the emotions present in Twitter for a given keyword. It uses [Watson Tone Analyzer](https://www.ibm.com/watson/services/tone-analyzer/) and the [Twitter API](https://dev.twitter.com/overview/api). | ||
|
||
<img src="../images/sentiment.png" width="50%"> | ||
|
||
### [Conversation](conversation) | ||
> Build a talking robot with Watson [[instructables](http://www.instructables.com/id/Build-a-Talking-Robot-With-Watson-and-Raspberry-Pi/)] | ||
This recipe demonstrates how to use the [Watson Speech to Text](https://www.ibm.com/watson/developercloud/speech-to-text.html), [Watson Text to Speech](https://www.ibm.com/watson/developercloud/text-to-speech.html), and [Watson Conversation](https://www.ibm.com/watson/developercloud/conversation.html) services to build a talking chatbot. | ||
This recipe demonstrates how to use the [Watson Speech to Text](https://www.ibm.com/watson/services/speech-to-text/), [Watson Text to Speech](https://www.ibm.com/watson/services/text-to-speech/), and [Watson Assistant](https://www.ibm.com/watson/services/conversation/) services to build a talking chatbot. | ||
|
||
<img src="../images/conversation.png" width="50%"> | ||
|
||
## Featured Recipes | ||
Check out the [featured TJBot recipes](../featured) created by members of our community. | ||
|
||
## Contributing Your Own Recipes | ||
TJBot is an open source project designed to make it fun and easy to interact with [Watson](https://www.ibm.com/watson/developercloud/services-catalog.html). | ||
TJBot is an open source project designed to make it fun and easy to interact with [Watson](https://www.ibm.com/watson/products-services/). | ||
|
||
If you would like your own recipe included in our [featured recipe](../featured) list, please [send us email](mailto:[email protected]) with a link to your repository and a demo video. | ||
If you would like your own recipe included in our [featured recipe](../featured) list, please [open an issue](../../../issues) and provide a link to your repository and a demo video. | ||
|
||
For guidelines on contributing to the TJBot project, please refer to the [contribution guide](../CONTRIBUTING.md). | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,42 @@ | ||
/* | ||
User-specific configuration | ||
** IMPORTANT NOTE ******************** | ||
* Please ensure you do not interchange your username and password. | ||
* Hint: Your username is the lengthy value ~ 36 digits including a hyphen | ||
* Hint: Your password is the smaller value ~ 12 characters | ||
*/ | ||
* User-specific configuration | ||
* IMPORTANT NOTES: | ||
* Please ensure you do not interchange your username and password. | ||
* Your username is the longer value: 36 digits, including hyphens | ||
* Your password is the smaller value: 12 characters | ||
*/ | ||
|
||
exports.conversationWorkspaceId = ''; // replace with the workspace identifier of your conversation | ||
exports.workspaceId = ''; // replace with the workspace identifier of your conversation | ||
|
||
// Set this to false if your TJBot does not have a camera. | ||
exports.hasCamera = true; | ||
|
||
// Create the credentials object for export | ||
exports.credentials = {}; | ||
|
||
// Watson Conversation | ||
// https://www.ibm.com/watson/developercloud/conversation.html | ||
exports.credentials.conversation = { | ||
// Watson Assistant | ||
// https://www.ibm.com/watson/services/conversation/ | ||
exports.credentials.assistant = { | ||
password: '', | ||
username: '' | ||
}; | ||
|
||
// Watson Speech to Text | ||
// https://www.ibm.com/watson/developercloud/speech-to-text.html | ||
// https://www.ibm.com/watson/services/speech-to-text/ | ||
exports.credentials.speech_to_text = { | ||
password: '', | ||
username: '' | ||
}; | ||
|
||
// Watson Text to Speech | ||
// https://www.ibm.com/watson/developercloud/text-to-speech.html | ||
// https://www.ibm.com/watson/services/text-to-speech/ | ||
exports.credentials.text_to_speech = { | ||
password: '', | ||
username: '' | ||
}; | ||
|
||
// Watson Visual Recognition | ||
// https://www.ibm.com/watson/services/visual-recognition/ | ||
exports.credentials.visual_recognition = { | ||
api_key: '' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.