Code Monkey home page Code Monkey logo

slackbots-from-commands-to-conversations's Introduction

Slackbots — from commands to conversations

This is the codebase for 2019 DevUp conference talk.

The slides for the talk can be found here.

Talk Information

Abstract

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.

Setup

Environment Variables

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.

Repo Setup

You will need to have NodeJS v10+ to run this application.

  1. Clone the repository
  2. Setup up the Environment Variables
  3. run npm install to install all the third party packages.

How to Run (Package commands)

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

Questions

If you have any questions, feel free to reach out to @Chris Marfia on the STL Tech Slack.

slackbots-from-commands-to-conversations's People

Contributors

cmarfia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.