Code Monkey home page Code Monkey logo

dining_suggestions_chatbot's Introduction

Dining Suggestions Chatbot

The concierge chatbot for dining suggestions is a server-less, distributed, micro-service driven web-based application deployed and hosted on AWS. This web application was developed as part of the course project assignment for the course - Cloud Computing (CS-GY:9223, NYU Tandon)

Table of contents

Description

Driven by Natural Language, the chatbot is designed using AWS services in order to provide restaurant suggestions to the users based on their requirements such as the City, Time and Date of dining, Number of People and the preferred Cuisine type. The frontend for the application is hosted in an AWS S3 bucket which provides the user with an interface to interact with the chatbot. AWS LexBot is used to process text inputs by the user, the bot uses Yelp API to fetch relevant suggestions which are then sent to the user over a text message to the number provided by the user.

Chatbot Demo

Technologies

  • Python
  • Javascript
  • HTML
  • CSS
  • AWS - Simple Storage Service (S3)
  • AWS - API Gateway
  • AWS - Lambda
  • AWS - Lex
  • AWS - Simple Queue Service (SQS)
  • AWS - Simple Notification Service (SNS)
  • AWS - ElasticSearch
  • AWS - DynamoDB
  • AWS - CloudWatch Events
  • Yelp API

Workflow

  • The frontend for the application (base code as displayed in image is present in the assets dir) is hosted in an S3 bucket as a static website.
  • The 'swagger.yaml' file is used as a template for API Gateway. A lambda function (LF0) is invoked for all API requests.
  • A different lambda function (LF1) is used as a code hook for the Lex Service.
  • Yelp API is used to collect 7,000+ restaurants in belonging to 7 different cuisines.
  • All the restaurant details are stored in DynamoDB which are indexed by their partial details stored in the ElasticSearch index.
  • All messages are pushed to the SQS queue with the help of a queue worker lambda function (LF2) which is used to get random restaurant suggestions and then send the suggestions to the user using SNS.
  • CloudWatch event trigger is used to invoke the lambda function every minute.

The following is the architecture for this project, to understand the workflow:- Chatbot Architecture

dining_suggestions_chatbot's People

Contributors

siddharthchd avatar

Watchers

James Cloos 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.