O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Apps Using Amazon's Alexa and Lex

Video Description

Alexa Skills and Lex Chatbots

About This Video

  • Fulfilment models: Using AWS Lambdas to fulfil user intents, and how AWS lambdas provide smooth, no-ops, auto-scaling code endpoints
  • Interaction models: Utterances, intents, slots, prompts and their resolution into API calls
  • Fulfilment models: Using AWS Lambdas to fulfil user intents, and how AWS lambdas provide smooth, no-ops, auto-scaling code endpoints
  • Third-party integration: How a chatbot can be added to your Slack workspace

In Detail

Alexa, Siri, Cortana and Google Now - voice-activated personal assistants are one of the hottest trends in technology these days. They are a great way to convey complex information to your customers in a free-flowing, conversational way. Alexa is a great way to build them - an AWS service for building conversational interfaces for Echo, FireTV and a host of Alexa-aware devices.

Alexa and Lex are state-of-the-art, with support for new devices being added all the time

Powered by a deep learning based engine that parses user voice and resolves the contents of user utterances to API calls and parameter values

No deep learning or natural language processing expertise is needed to build even complex voice and chat apps

Provides an intuitive way of specifying the conversational interface

Automatically and dynamically adjusts conversational responses

Easy to build, test and publish app

Table of Contents

  1. Chapter 1 : Introduction
    1. You, This Course and Us 00:02:40
  2. Chapter 2 : Alexa Basics: Eco-system and Skill Concepts
    1. Introducing Alexa 00:02:00
    2. Evolution of Human Computer Interaction and Voice Interfaces 00:07:35
    3. Prereqs and Course Overview 00:02:54
    4. Alexa, Echo and AWS 00:05:58
    5. Skill Concepts: Invocations, Utterances and Intents 00:08:43
    6. Tools and Platforms: AWS, Amazon Developer Console and Echosim.io 00:08:18
    7. Types of Skills 00:06:02
  3. Chapter 3 : Build a Basic Alexa Skill
    1. Overview of the Stock Market Tracker 00:04:28
    2. Utterance-Intent Mapping 00:04:45
    3. Financial Data from AlphaVantage 00:03:21
    4. Setup and Configure an Alexa Skill 00:08:10
    5. AWS Lambdas 00:06:07
    6. Link the Alexa Skill with the Lambda Function 00:08:16
    7. Set up and Test Lambda Code 00:07:59
    8. Code and Test the Launch Request 00:05:08
    9. Code and Test the Intent Request 00:04:53
    10. Handle Help and Stop Intents 00:05:03
    11. Test Using Echosim.io 00:01:41
  4. Chapter 4 : Multi-turn Dialogs for Rich Conversation
    1. Slots as Request Configuration Parameters 00:06:23
    2. Slots, Prompts and Utterances 00:08:09
    3. Financial Data from Intrinio 00:02:28
    4. What exactly are Slots? 00:05:07
    5. Configure the Dialog Model 00:08:43
    6. Handle Start, End and Launch Requests 00:07:00
    7. Handle the GetStockInfo Intent 00:09:50
    8. Handle Help, Stop and Cancel Intents 00:01:18
    9. Testing With Echosim.io 00:01:53
  5. Chapter 5 : Persist State Across Sessions
    1. Remember Data across Sessions 00:05:47
    2. Create a Dynamo DB Table 00:02:07
    3. Configure Full Access to Dynamo DB from Lambda 00:07:34
    4. Handle Start, End and Launch Requests 00:01:51
    5. Handle Add, Remove and List Stock Intents 00:08:04
    6. Test Using Echosim.io 00:01:12
  6. Chapter 6 : Build a Flash Briefing Skill
    1. Understanding Flash Briefing Skills 00:06:21
    2. Set Up A Twitter RSS Feed 00:03:07
    3. Set Up a Flash Briefing Skill 00:04:20
  7. Chapter 7 : Introducing Lex
    1. Course Outline 00:08:02
    2. Signing in to AWS 00:06:11
    3. Sample Bots 00:04:39
    4. Custom Bots and IAM 00:08:07
    5. Complete Creating Your First Bot 00:04:54
  8. Chapter 8 : Interaction Models in Amazon Lex
    1. Module Outline 00:05:23
    2. Creating Intents 00:05:03
    3. Slot Types 00:08:04
    4. Slots 00:09:50
    5. Slot Properties 00:06:04
    6. Sample Utterances 00:07:03
    7. Confirmations 00:08:17
    8. Configuring the Bot 00:04:40
    9. Test: Ordering Coke 00:06:22
    10. Test: Ordering Pizza (Fail) 00:06:32
    11. Test: Ordering Pizza (Success) 00:07:41
    12. Cleaning up Resources 00:06:22
  9. Chapter 9 : Fulfilment Models in Amazon Lex
    1. Module Outline 00:05:50
    2. Weather Bot 00:04:39
    3. Built In Slot Types 00:07:18
    4. Setting Up a Weather Bot 00:03:43
    5. Lambda Intro 00:07:08
    6. Lambda Blueprint 00:06:22
    7. The Big Picture: Code 00:03:43
    8. Lambda Handler 00:06:18
    9. Constructing a Response 00:06:27
    10. Configuring an AWS Lambda 00:05:43
    11. Lex Lambda Configuration 00:04:26
    12. Open Weather API 00:06:09
    13. Invoking the Open Weather API 00:09:21
    14. Importing External Libraries to an AWS Lambda 00:07:57
    15. Versions, Aliases and Publishing 00:09:25
  10. Chapter 10 : Third-party Apps: Chatbots in Slack
    1. Module Outline 00:04:16
    2. Creating A Slack Application 00:08:59
    3. Activating Lex Integration 00:06:12
    4. Configuring A Stack App 00:08:10
    5. Testing the Slack Bot 00:03:21