Skip to content

Latest commit

 

History

History
197 lines (123 loc) · 6.5 KB

Talks.md

File metadata and controls

197 lines (123 loc) · 6.5 KB

Alexa Live On-Demand

Build Conversational Interfaces Faster with Alexa Conversations

Released in 2014 Over 100k Skills on Alexa 4-5 customers that have Echo devices uses Skills Skills are available in 80 countries, 30 language variants

One-shot interactions Multi-turn interactions (series of questions)

Happy path -single dialog turn -linear multi turn (easy to build)

Not a happy path -single dialog turn -non-linear multi turn, conversations deviate from the script (tracking state, context)

Alexa Conversations - deep learning, tracks the context, less code for state management

Alexa CConversations - opens up new experiences for your customers

Build a skill with Alexa Conversations

Default Dialog Manager Custom Skill Dialog Manager (portion of the dialog)

5 build-time components

Dialogs Utterance Set (dialog acts - Invoke, Inform, Affirm) Slots (singular slot, compound slot) API definitions Response Templates (dialog acts - Request, Confirm, Notify)

JSON request

Request type API name API arguments

JSON response

API response slot

Pros State management out of the box Confirmations User corrections (user changes their mind while defining) Proactive offers Interoperability (extend existing Alexa skill with Alexa Conversations)

Technical Details

Dialog Simulator consists of simulated dialog flows which produce dialog with variations Using paraphrasing the natural language variations are generated Last step is to train the dialogs

Goal Oriented dialog (take turns and preform actions, Alexa follow up with questions to get more information)

Simulating different dialog paths in advanced

User more cooperative (gives all information) User changes their mind (not sure) User is less cooperative (gives less information)

Conversational models

NER (named entity recognition) model (recognizes slots in user utterances) AP (action prediction) model (predicts what is the next Alexa model) AF (argument filling) model (fills in the values of API arguments from the dialog context)

Benefits

Easier to capture and handle user corrections Less time spent for writing slots and confirming new slots Easy to extend existing skill

Useful docs

Reference skills alexa.design/ac-github Technical documentation for Alexa Conversations alexa.design/ac-docs Learn the fundamentals of building with Alexa CConversations alexa.design/ac-tutorial

The Secret to Building Better Customer Experiences

Tools

NLU Evolution Utterance Profiler Intent Chaining

ASR (automatic speech recognition) - converts user speech to text Automatic Speech Recognition (ASR) Evaluation tool

ASR evaluation tools saves time testing your skill

Out of Domain utterances

Sensitivity Tuning - review your customer's utterances in Intent History

Change fallbackIntentSensitivity setting level:

Low - your skill requires large numbers of different words and phrases that might not be in your sample utterances Medium - specific utterances are covered by your skill model High - interaction model supports most utterances

Slots and Catalog Management

allows richer and more consistent experiences

Shared Slots - share slot with multiple skills Catalog Management -

Alexa Entities

Resolve common entities (more detail about the utterance, giving a slot link)

http://alexa.design/entities

Personalize Alexa

More personalization, more engagement

3 different ways of personalization:

Account Linking Customer Profile API (fetch user details) Voice profiles

App-to-App Account Linking (from your app or Alexa App)

link Amazon identity with the identity in your app (removes friction of remembering account credentials, both on iOS and Android)

Account linking from Alexa App

Enable Universal Links (iOS), App Links (Android) Configure the skill for account linking Handle the authorization request in your app Redirect the user back to the Alexa App Use the access token in the skill

Person Profile API

Enable permissions Prompt the user to give consent Get the access token (refresh on each request) Call Personal Profile API

Useful links

http://alexa.design/codegenerator

ASK-SDK Code Generator for Alexa Skill Language Models

http://alexa.design/nodesdk

Alexa Skills Kit SDK for Node.js

http://alexa.design/guide

The Alexa Design Guide

Zero to Hero: A comprehensive course to building an Alexa Skill

Zero to Hero: A comprehensive course to building an Alexa Skill

Zero to Hero: A comprehensive course to building an Alexa Skill

How to build an engaging Alexa skill

How to build an engaging Alexa skill

Improving Alexa Skill Quality

Improving Alexa Skill Quality

Integrate the Reminders API with Your Skill to Deepen Customer Engagement

Integrate the Reminders API with Your Skill to Deepen Customer Engagement

Adding Smart Home Controls with AVS

Adding Smart Home Controls with AVS

Alexa Location Based Reminder and Routines

Alexa Location Based Reminder and Routines

Create Custom Location-Based Alexa Routines

Create Custom Location-Based Alexa Routines