Create a Custom Skill on the Amazon Echo

Slides:



Advertisements
Similar presentations
Financial Aid Management System Account Registration and Confirmation.
Advertisements

Chapter 8 Create an App and Publish to the iPad. Apps are programs that run on the iPad. App is short for application. Exploring Apps and iPad Publishing.
Single Search By Rakphao Theppan, librarian Searching Online Resources.
Realtime Equipment Database F.R.E.D. stands for Fastline’s Realtime Equipment Database. F.R.E.D. will allow you to list all your inventory online. F.R.E.D.
Edit the text with your own short phrases. The animation is already done for you; just copy and paste the slide into your existing presentation. RegisterLogin.
Funnelbrain: Internet-based Flashcard Creator Created by Russell Smith Technology Facilitator North Edgecombe High School.
Introduction to EBSCOhost E-Books Access to thousands of e-books! Available 24/7!
Why Get an M & M Direct Access Website? ONLY Direct Access Gives You These Important Features Turnkey website pre-loaded with our entire range of products.
1 Agenda Views Pages Web Parts Navigation Office Wrap-Up.
Creating a Website in Weebly Created by: Joey Weaver Modified by: Mrs. Wilson.
2010 Open Market Transfer System User Guide. 2 Objectives Uses of this Guide Understand how to register for the Open Market Transfer System (OMTS). Understand.
Starter for 10 Unit 10: Flickr & YouTube Transform IT SFT10_Flickr_YouTube.
Wikispaces in Education Tutorial Jennifer Carrier Dorman
UOW Clubs & Societies Executive Website Training Training you today: Jacinta Cali & Guy Watson.
2008 Welcome to the Springer Customized Catalog – An Extension of the Bookseller Search.
Getting Started with:. Registering for Pearson MasteringNutrition is easy! Go to the home page to get started
 Using Screenr, Jing, and QuickTime Plus some alternatives!
ZOOBURST CHRISTINA LAMAN WHAT IS ZOOBURST? A digital storytelling tool that allows you to create 3-D pop up books. Allows children of.
Nancy Severe-Barnett Program Coordinator, SCIS
Using Animoto. Sign in with your address and password.
Part 1 – PubMed Interface, Display options, Saving, Printing, and ing results. Instructions This part of the course is a PowerPoint demonstration.
Log on to the site using your User ID and Password and select journal and click “Log In” Click here to create a new account Click here to check the system.
Chapter 6 Publishing to the iPad. Installing Software for Working with the iPad When you create layout in InDesign, you can use the Adobe Content Viewer.
SAXOTECH TRAINING 2012 GATEHOUSE NEWS & INTERACTIVE DIVISION.
Limits From the initial (HINARI) PubMed page, we will click on the Limits search option. Note also the hyperlinks to Advanced search and Help options.
OneNote and Canvas Making, distributing, annotating, collecting, and grading assignments Open Google Chrome: usd489.instructure.com Wi-Fi: RAC Password:
SCHOOLOGY. Click on Sign Up Choose Instructor Fill Out Form / Register o Use SCHOOL address Fill in Country / State / and type.
Weblog Manual Contents: Login and managing your account ……….p. 2 Uploading files……………………………………p. 3 Uploading images……………………………….p. 4 Cropping images..………………p.
Training Guide for Inzalo SOP Users. This guide has been prepared to demonstrate the use of the Inzalo Intranet based SOP applications. The scope of this.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
1 Twitter Tutorial: How to create an account. New Hampshire Afterschool Network Twitter Tutorial Create a Twitter account 2 Click on your phone’s Web.
NIMAC for Publishers: How to Create Sub User Accounts December 2015.
PubMed/How to Search, Display, Download & (module 4.1)
Transportation Agenda 77. Transportation About Columns Each file in a library and item in a list has properties For example, a Word document can have.
Wikispaces in Education Tutorial ESA, Region 2 Mary Teply Marge Hauser.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Creating a Website in Weebly Joey Weaver IDT 7062.
What is a Wiki? By: Marisela Alvarado. Fill out all the information and click on Create Account.
ZipLogix Digital Ink® & DocuSign® Which is right for me and why? Amy A. Ulloa zipForm® Product Coordinator
Windows Vista Configuration MCTS : Internet Explorer 7.0.
Classroom Wiki Tutorial EDIC 763 Instructional Design Fall 2011 Aysha Bajabaa Dr. Gary Whitt 1 NextBack.
1 Terminal Management System Usage Overview Document Version 1.1.
Migration to Central Data Exchange (CDX)
Welcome to the ABC Bakers PowerPoint on Girls Selling Cookies Online with E-Cards. ABCSmartcookies.com is your Girl Scout’s all-in-one access to learn.
Social Network.
Getting Started with.
The following diagrams detail the interaction of AWS, Alexa, Fitbit apis, and the user #1 – User needs to link Fitbit account to skill #2 – User needs.
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Welcome to the ABC Bakers PowerPoint on Girls Selling Cookies Online with E-Cards. ABCSmartcookies.com is your Girl Scout’s all-in-one access to learn.
Presenting Amazon’s Alexa
ICT & Statistics Center
OverDrive Digital Library Basics
Online Testing System Assessment Viewing Application (AVA)
                      Digital Audio 1.
OverDrive Digital Library Basics
V
Step by step guide on IoT data synchronization using MQTT
Title: Unified Communication Application Suite Keycode Retrieval System (KRS) User Guide Issue: 0.2 Date: July 2011 Hi and welcome to the.
New User Guide Learning how to use your NxPay Account
Google Drive Introduction:
NLI Platform guide.
Alexa Programming.
Online Testing System Assessment Viewing Application (AVA)
Taskstream Submission Of Your Signature Piece Files
Getting Started with:.
eHarmony for Recruiters
Creating a Google Action for the Automotive Classroom
Data and Continuous (Skill) Improvement
Presentation transcript:

Create a Custom Skill on the Amazon Echo Emily Lam, DeveloperWeek 2/13/2017

About Me Emily Lam UCLA: Linguistics and specialization in Computing Currently: Frontend developer at Lieberman Software Skills published: 4 Hackathons won using Alexa: 3 Money 20/20 WorldPay 2nd Mojio Connected Car 1st GA + IBM Watson Workspace Twitter: @hongily https://liebsoft.com

Agenda 1. Walk you through how to create a basic trivia skill 2. Discuss In-depth Topics Built-in and Custom slots Account linking SSML Tags

Sign into https://developer.amazon.com/ This is the same account that you use to sign into www.amazon.com. Don’t have an Amazon account? You can create one after you click “Sign In”.

https://developer.amazon.com/ Click on Alexa

Click on Get Started > under the Alexa Skills Kit https://developer.amazon.com/ Click on Get Started > under the Alexa Skills Kit

Click on “Add a New Skill” https://developer.amazon.com/ Click on “Add a New Skill”

https://developer.amazon.com/

Skills Information https://developer.amazon.com/ Skill Type Language Custom Interaction Model: Gives you the most control over the user’s experience and is the most flexible kind of skill you can build. Smart Home Skill API: Great for building a skill with smart home devices Flash Briefing Skill API: Easy for creating flash briefings/RSS feed Language You can choose English (U.S.), English (U.K.), or German

Skills Information https://developer.amazon.com/ Name Invocation Name Appears as the title in the Alexa app. Ex. Morning Dose App Name Must be between 2-50 characters. Invocation Name The name you use to tell Alexa to open the skill. Ex. Morning Dose. See Invocation Guidelines. Global Fields Audio Player for music related skills ie. Spotify

Interaction Model https://developer.amazon.com/ Intent Schema: A JSON structure which declares the set of intents your service can accept and process.

Interaction Model https://developer.amazon.com/ Intent Schema: A JSON structure which declares the set of intents your service can accept and process. https://github.com/alexa/skill-sample-nodejs- trivia/tree/master/speechAssets

Interaction Model https://developer.amazon.com/ Custom Slots: Custom slot types to be referenced by the Intent Schema and Sample Utterances Sample Utterances: What you say to Alexa to trigger an intent

Configuration https://developer.amazon.com/ Select AWS Lambda ARN (Amazon Resource Name) and then North America.

Go to https://aws.amazon.com https://aws.amazon.com/ Go to https://aws.amazon.com Sign in to the Console

Sign In or Create an AWS Account https://aws.amazon.com/ Sign In or Create an AWS Account

https://aws.amazon.com/ Select US East (N. Virginia) for US skills and EU (Ireland) for UK/DE skills These are the only two regions currently supported for Alexa skill development on AWS Lambda

Type in Lambda and select the Lambda option https://aws.amazon.com/ Type in Lambda and select the Lambda option

Select Create a Lambda function https://aws.amazon.com/ Select Create a Lambda function

https://aws.amazon.com/ Type Alexa in the filter and then select alexa-skill-kit-sdk-triviaskill

Click on the gray square https://aws.amazon.com/ Click on the gray square

Select Alexa Skills Kit and then Next https://aws.amazon.com/ Select Alexa Skills Kit and then Next

Type in a function name https://aws.amazon.com/ Function name must contain only letters, numbers, hyphens, or underscores.

Click on the dropdown menu and select Create a custom role https://aws.amazon.com Click on the dropdown menu and select Create a custom role

https://aws.amazon.com Click on “Allow”

https://aws.amazon.com Click on “Next”

Click on “Create function” https://aws.amazon.com Click on “Create function”

Click on “Test” and look at the execution result https://aws.amazon.com Click on “Test” and look at the execution result

Click on “Actions and then “Export function” https://aws.amazon.com Click on “Actions and then “Export function”

Click on “Download deployment package” https://aws.amazon.com Click on “Download deployment package”

Edit index.js and question.js https://aws.amazon.com Edit index.js and question.js

Select the two files + node_modules and compress the 3 items. https://aws.amazon.com Select the two files + node_modules and compress the 3 items.

https://aws.amazon.com Upload Archive.zip

https://aws.amazon.com Click Save and test

https://aws.amazon.com Copy the ARN

https://developer.amazon.com Paste the ARN in your skill at https://developer.amazon.com and the select “Next”

https://developer.amazon.com Select a Category and Subcategory if necessary Then, write in testing instructions.

Write a short description (160 character max.) about the skill https://developer.amazon.com Write a short description (160 character max.) about the skill

Write a full description that will appear in the skill’s detail card https://developer.amazon.com Write a full description that will appear in the skill’s detail card

https://developer.amazon.com Write up to three example phrases that appear as aids for users when they see your skill’s detail card.

Answer privacy related questions and export compliance https://developer.amazon.com Answer privacy related questions and export compliance

Click “Submit for Certification” and you are done! https://developer.amazon.com Click “Submit for Certification” and you are done!

In-depth Topics Built-in and Custom slots Account linking SSML Tags

Built-in Slots and Custom Slots Slots are arguments for intents. A built-in slot type such as AMAZON.NUMBER converts numeric words (“five”) into digits (such as “5”). You can view all the built-in slots at: https://developer.amazon.com/public/solutions/alexa/alexa-skills- kit/docs/built-in-intent-ref/slot-type-reference A custom slot type is used for items that are not covered by Amazon’s built-in set of types.

Built-in Slots and Custom Slots "intents": [ { "intent": "ReportIntent", "slots": [ "name": "Incident", "type": "LIST_OF_INCIDENTS" }] } You define the slot type in the Intent Schema.

Custom Slots You create a slot type (ie LIST_OF_INCIDENTS) and then you write the values.

Custom Slots You reference the intent and slot name in the Sample Utterances

Custom Slots You can use the value of the custom slot in your lambda code.

Account linking You can link an external account to the Alexa.

Account linking You create an application and link it to Alexa through the Alexa app.

Account linking The client id and client secret are retrieved from the external account

Account linking

Account linking Token: 59010bf8-4a29-4f59-8bd7-3a59ac383781 Redirects back to https://pitangui.amazon.com/api/skill/link/M1PJIQE7PVNV1

Account linking Token: 59010bf8-4a29-4f59-8bd7-3a59ac383781 Redirects back to https://pitangui.amazon.com/api/skill/link/M1PJIQE7PVNV1

Account linking A privacy policy is required for account linking. You also have to disclose if you are collect users' personal information (ie email, password, etc)

SSML Tags Speech Synthesis Markup Language provides additional control over how Alexa generates the speech text in your response. Examples: <say-as interpret-as="cardinal">12345</say-as> sounds like twelve thousand three hundred forty five <say-as interpret-as=”ordinal">12345</say-as> sounds like twelve thousand three hundred forty fifth <say-as interpret-as="spell-out">12345</say-as> sounds like one two three four five Reference: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/speech-synthesis-markup-language-ssml-reference#supported-ssml-tags

SSML Tags Speech Synthesis Markup Language provides additional control over how Alexa generates the speech text in your response. Examples: <say-as interpret-as="cardinal">12345</say-as> sounds like twelve thousand three hundred forty five <say-as interpret-as=”ordinal">12345</say-as> sounds like twelve thousand three hundred forty fifth <say-as interpret-as="spell-out">12345</say-as> sounds like one two three four five Reference: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/speech-synthesis-markup-language-ssml-reference#supported-ssml-tags

Thank you! Questions? Tweet me @hongily Email me at emily@emilytlam.com