Book Image

Hands-On Chatbot Development with Alexa Skills and Amazon Lex

By : Sam Williams
Book Image

Hands-On Chatbot Development with Alexa Skills and Amazon Lex

By: Sam Williams

Overview of this book

Have you ever wondered how Alexa apps are made, how voice-enabled technologies work, or how chatbots function? And why tech giants such as Amazon and Google are investing in voice technologies? A better question is: why should I start developing on these platforms? Hands-On Chatbot Development with Alexa Skills and Amazon Lex covers all features of the Alexa Skills kit with real-world examples that help you develop skills to integrate Echo and chatbots into Facebook, Slack, and Twilio with the Amazon Lex platform. The book starts with teaching you how to set up your local environment and AWS CLI so that you can automate the process of uploading AWS Lambda from your local machine. You will then learn to develop Alexa Skills and Lex chatbots using Lambda functions to control functionality. Once you’ve come to grips with this, you will learn to create increasingly complex chatbots, integrate Amazon S3, and change the way Alexa talks to the user. In the concluding chapters, we shift our focus to Amazon Lex and messaging chatbots. We will explore Alexa, learn about DynamoDB databases, and add cards to user conversations. By the end of this book, you will have explored a full set of technologies that will enable you to create your own voice and messaging chatbots using Amazon.
Table of Contents (13 chapters)


This chapter showed us how to do a lot of new things. We started by creating our first Alexa Skill using Alexa Skills Kit. This involved learning about and creating intents, slots, and utterances. With the configuration completed, we created a Lambda to handle the request using Alexa-SDK. This Lambda is where we defined the response that would be sent to the user. Finally, we built and tested our new Alexa Skill using the built-in testing tools.

Having made a basic first skill, we started to create a more useful second skill. We used a custom slot type and applied it to slots in our intents. We then used Amazon's S3 service to store the data we needed before using AWS SDK to easily get the data and use it in our Lambda.

Using the skills learned in this chapter, you can go build a huge range of powerful skills for Alexa.

In the next chapter we'll learn to access...