Code Monkey home page Code Monkey logo

e8tbot's Introduction

Build Status Coverage Status

E-8T is a food recommendation Chatbot built using Node.js and the Microsoft Bot Framework. Natural Language Processing is handled by LUIS.

If you're starving and would like recommendations for food in the vicinity, look no further. At the moment, E-8T will make recommendations from HungryGoWhere when you submit your location.

E-8T is available on Facebook Messenger, @e8tbot. Note that Send Location only works on mobile.

Upcoming Features

  • Support for more food searches
  • Add more food review websites
  • Personalized recommendations
  • Proactive lunch suggestions

Quick Start

Development

  • Clone this repo
  • Install with npm: NODE_ENV=development npm install
  • Set up Azure Cognitive Services, LUIS and mLAb MongoDB
  • Run setup and add environmental variables to gulpfile.js: node setup.js
  • Transpile to ES5 and run nodemon dev server with Gulp: gulp
  • Interact with your bot
    • Using the Bot Framework Emulator OR
    • Directly from WebChat/Facebook Messenger
      • Create a secure tunnel to your nodemon server using ngrok: ngrok http 3978
      • Change your Bot Framework messaging endpoint to https://<yourapp>.ngrok.io/api/messages
  • Each time you make changes to the code, gulp will rebuild and restart your server. Make sure to start new conversation in the emulator.
  • Before shipping, run your tests: gulp build and npm test
  • And generate coverage stats: npm run cover

Deployment

  • Register bot with Bot Framework
  • Set up Travis CI and Coveralls
  • Create new Heroku app with mLab add-on
  • Deploy to Heroku git push heroku master
  • Set Bot Framework messaging endpoint to https://<yourapp>.herokuapp.com/api/messages
  • Access Facebook Developer and create Facebook App and Page for Messenger
  • Set up Facebook Messenger webhook
  • Get your Facebook App approved for Send/Receive API (pages_messaging)
  • Add your Facebook Page Access Token to setup-fb.js then run node setup-fb.js

License

Code released under the MIT license.

e8tbot's People

Contributors

lyzs90 avatar

Watchers

Adolfo Eliazat 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.