Hello World Functionality for a AWS Lex based Chatbot. This is a very basic version that just responds to a few intents.
Code base for basic Hello World chatbot based on AWS Lex service and AWS Lambda
Table of Contents
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'.
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