Coder Social home page Coder Social logo

devybot's Introduction

Slack Bot for Devy

This is the chat bot program for Devy.

Installation

Fill the .env file with your newly acquired tokens from both the Watson Conversation and the slack application.

Launch the bot application by typing:

node .

Now, visit the bot's login page.

Continue your journey to becoming a champion botmaster by reading the Botkit Studio SDK documentation here.

How it works

The chat bot program is built on top of the Botkit slack bot program.

skills/main.js is the main controller file that listens to the messages sent by the user to the chatbot. Upon receiving a message, it sends the text to the Watson Conversation (connected on starting of the program) and expect an intent. If zero intent is sent back or the intent has too low a confidence score, the bot will prompt the user with a selection of options and train the Watson Conversation with the new example the user has previously provided.

Other files in the skills/ folder are functions that will be called accordingly if a certain intent is triggered from either a message sent by the user or the client program as a step of a customized workflow. The logic in these files are similar: it sends a request to the client program and then respond to the user with a message, which is the main interactive part of the project.

devybot's People

Contributors

anniewang97 avatar jsdelivrbot avatar

Watchers

 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.