Have you ever wonder how your Slack chat message is perceived by other users? You may sounds unpleasant, or have harsh tones that you may not have noticed! In this tutorial, I am walking you through to build a Slack bot that analyze the tone of messages using IBM Watson Watson to read the emotion of each message posted!
You need an IBM Cloud account then:
- Go to Catalog > AI
- Enable Tone Analyzer
- Get your credentials (API key and URL) by clicking Service Credentials then View credentials
The second part is totally optional. If you want to build a physical Raspberry Pi bot, you need the hardware:
1 Raspberry Pi 3 (If you are using Pi 2, you need a WiFi dongle too) 1 NeoPixel RGB LED 3 Female/female jumper wires
You need to install the latest Raspbian OS, connect to WiFi, and update and upgrade the system. See Raspberrypi.org for the instruction.
When you clone this repo run on your own server, rename the .env-test
file to .env
and fill out your own Slack Dev and IBM Bluemix credentials.
The full step-by-step tutorial (updated on Jan 23, 2020) is on https://api.slack.com/tutorials/watson-sentiment