Building Intelligent Chatbots on AWS

Building Intelligent Chatbots on AWS

1h 14mAdvanced2023-09-20

Authors

Bear Cahill

Bear Cahill

Mobile Application Developer

Course details

Voice control and interaction is becoming more common—and more expected from our apps. Amazon Lex provides speech recognition and natural language understanding, allowing developers to build their own custom logic around it. This course introduces a specific use case for Lex: intelligent chatbots that can respond to and redirect customer inquiries. Discover how to use the Lex API and CLI, build and test your bot, and configure the prompts and responses that will make your bot seem trustworthy and useful. Instructor Bear Cahill also explains how to publish your bot to the Amazon cloud and leverage lambdas—serverless functions—for user data validation and intent fulfillment. By the end of the course, you’ll know how to build smart, sophisticated chatbots and use Lex to do all the heavy lifting.

Skills covered

Natural Language Processing (NLP)Amazon Web Services (AWS)AmazonCloud ServicesProjectCloud PlatformsArtificial Intelligence (AI)Cloud Computing

Concepts

Introduction

  • Creating chatbots
  • What you should know

AWS Lex Overview

  • Introduction to AWS Lex
  • AWS account and console
  • Chatbot concepts
  • Lex API and CLI

Creating a Bot

  • Lex Bot creation
  • Intents
  • Kicking off the conversation
  • Testing the bot
  • Challenge - OrderDrink intent
  • Solution - OrderDrink intent

Slots and Slot Types

  • Slot types
  • Custom slot types
  • User input prompts
  • Confirmation prompts
  • Challenge - Create a restricted slot
  • Solution - Create a restricted slot

Responses

  • Closing response
  • Prompting with card group
  • Challenge - Closing response for dessert
  • Solution - Closing response for dessert

Publishing

  • Versions and aliases
  • Client creation
  • Client preparation
  • Gathering configuration data
  • Testing the bot with text
  • Challenge - Engage bot from CLI
  • Solution - Engage bot from CLI

Functionality of Lambdas

  • Lex and Lambdas
  • BookTrip sample bot
  • Creating and connecting Lambdas
  • Testing with Lambdas

Conclusion

  • Continue training your chatbots
40,000 Toman