This is the codebase for 2019 DevUp conference talk.
The slides for the talk can be found here.
Have you ever tried building a Slackbot, but couldn't move past single word commands? Processing natural language is complex and daunting for anyone especially beginners. What if there was a shortcut for diving into natural languages processing (NLP). That is where classifiers come in. They can streamline your introduction into NLP. In this session we will build a NodeJS Slackbot leveraging a regression classifier. My hope is that you will be able to turn around and use this knowledge. Lets make your next Slackbot capable of understanding natural language together.
The following environment variables are needed to run this application.
# For Mac or Linux
export SLACKEDEX_SLACK_TOKEN="slack_token"
You will get the Slack token from an application created via the Slack API site.
You will need to have NodeJS v10+ to run this application.
- Clone the repository
- Setup up the Environment Variables
- run
npm install
to install all the third party packages.
Run the following command to start the completed solution.
npm run completed
To run the non-completed version without hot-reloading you can run the following command.
npm start
If you have any questions, feel free to reach out to @Chris Marfia
on the STL Tech Slack.