Skip to content

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

Notifications You must be signed in to change notification settings

terrenjpeterson/lex-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published