Giter Club home page Giter Club logo

eslbot's Introduction

ESL bot

This bot helps you to learn new English words.

Architecture

Serverless bot architecture

ESLBot is based on the following components:

  • Amazon Lex for voice recognition and conversational interface
  • AWS Lambda for application logic and Facebook integration
  • Amazon API Gateway for providing a REST API for Facebook integration
  • FFmpeg to prepare audio for Lex
  • Amazon Polly to generate audio from text
  • Amazon S3 to cache generated speech
  • Azure SQL database to store user profiles and progress
  • Skyeng API as the data source
  • AWS CloudFormation and Serverless framework to orchestrate provisioning of AWS environment

Usage

You can use text or voice input via Facebook messenger.

Learn intent

The bot offers a new word with definition, audio, picture, and examples. earning progress is stored in database.

Test intent

Bot offers audio definition, you need to guess a word. You have 3 attempts, after each failed attempt bot gives you a hint. Audio is created on-demand using AWS Polly (text-to-speech) and saved to S3.

Definition intent

You can ask the bot to define a word.

Deployment

  • Download ffmpeg static x64 binaries, put ffmpeg to bin
  • You will need database (see ddl/*) and Facebook access details (see .env.yml.dist).
  • Deploy cloudformation/*
  • Deploy all functions with serverless deploy

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.