Book Image

Alexa Skills Projects

By : Madhur Bhargava
Book Image

Alexa Skills Projects

By: Madhur Bhargava

Overview of this book

Amazon Echo is a smart speaker developed by Amazon, which connects to Amazon’s Alexa Voice Service and is entirely controlled by voice commands. Amazon Echo is currently being used for a variety of purposes such as home automation, asking generic queries, and even ordering a cab or pizza. Alexa Skills Projects starts with a basic introduction to Amazon Alexa and Echo. You will then deep dive into Alexa Programming concepts such as Intents, Slots, Lambdas and maintaining your skill’s state using DynamoDB. You will get a clear understanding of how some of the most popular Alexa Skills work, and gain experience of working with real-world Amazon Echo applications. In the concluding chapters, you will explore the future of voice-enabled applications and their coverage with respect to the Internet of Things. By the end of the book, you will have learned to design Alexa Skills for specific purposes and interact with Amazon Echo to execute these skills.
Table of Contents (14 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Overview of the Handsfree Messenger Skill


Before we go ahead and design the Handsfree Messenger skill, we will need to understand a few things:

  • What is the system's core functionality?
  • What are all of its moving parts?
  • How do these parts interact?

The Handsfree Messenger skill will work as follows:

  1. The user will start the Alexa Skill by saying a start phrase—"Alexa, Start Handsfree Messenger."
  2. Alexa will launch the skill.
  3. The user will voice the actual message that needs to be sent: "Send message – Get milk!"
  4. Now, this is where it gets interesting. When the user voices the actual message in the previous step, a SendMessage intent will be created and the actual message text will be passed as an argument to that intent.

Note

We have already discussed intents in the previous chapter and so we are assuming that the reader is already familiar with intents and their functionality.

  1. The intent is processed by the Lambda, where the Lambda extracts the message from the intent and passes it to the Twilio backend...