Giter Site home page Giter Site logo

terrenjpeterson / lex-hello-world Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 12.0 5 KB

Hello World Functionality for a AWS Lex based Chatbot. This is a very basic version that just responds to a few intents.

JavaScript 100.00%
aws-lex chatbot aws-lambda

lex-hello-world's Introduction

Hello World Chatbot

Code base for basic Hello World chatbot based on AWS Lex service and AWS Lambda

Table of Contents

Get started with Lex

Using the AWS console, create your first Lex bot and give it a name. For example, HelloWorld.

Then create your first intent. Just call it something simple like 'Hello'.

Creating an intent involves establishing sample utterances. Pick something simple like 'Hello' or 'Hi'.

Get started with Lambda

  1. Create a new blank lambda function.
  2. Copy the code in the /src folder into the lambda function.
  3. Save.

Start testing your bot

First make sure that your Lambda function is properly setup. From the /testdata folder, use the AWS console to test the function with the request object. After invoking, you should receive a response object that looks like this.

Once the lambda function properly works, then connect it to Lex. This can be done through the console by changing the Fullfillment radio button on the intent and selecting the Lambda function.

For a more advanced bot, please try this

lex-hello-world's People

Contributors

terrenjpeterson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.