/lambda-bot

A wrapper to make API.AI webhooks on AWS Lambda.

Primary LanguageJavaScriptMIT LicenseMIT

lambda-bot

A wrapper to make API.AI webhooks on AWS Lambda.

Here's a simple example:

const LambdaBot = require('lambda-bot');

const bot = new LambdaBot();

bot.setAction('hello.world', (app) => {
    app.tell('Hello from AWS Lambda!');
});

exports.handler = bot.handler();