Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
39 lines (22 loc) · 2.32 KB

File metadata and controls

executable file
·
39 lines (22 loc) · 2.32 KB

<< Lab 1 | Lab 2 | Lab 3 >>

Lab Guide 2 - Service Simulator

What you will do in this lab

Work with the Service Simulator tool in the Amazon developer console to manually test your freshly created Alexa skill.

What you will get at the end of this lab

You have learned how to send utterances to your skill and how to examine the resulting request and response payloads send to and received from your skill Lambda endpoint.

Prerequisites

  • Skill which has been deployed to your Amazon developer account in Lab 1.

Instructions

2.1.) Play with Service Simulator

2.1.1. Go to the Amazon developer console and sign in. Select Developer Console in the header section and navigate to Alexa. Click on Alexa Skills Kit. You should see the list of your skills - with Number guessing game being one of them. Click on the skill name Number guessing game and go to the Test section in the left menu.

2.1.2. Enable testing for this skill for your developer account just in case it is not already showing up as Enabled.

2.1.3. You can now Enter an Utterance and click on Ask number guessing game to send the entered utterance to the skill endpoint.

In the underneath section you can examine the request and response payloads sent to and returned from the skill. Continue the dialog and interact with the skill by following the instructions returned by the skill (outputspeech portion in the response contains what Alexa would say to the user). The below Voice User Interface Diagram of the skill will help you.

Side note: Numbers in utterances: The Service Simulator does not resolve numbers in utterances when written as integers (e.g. "the number is 10"). Instead, you should always use numerals (e.g. "the number is ten").

2.1.4. Extra points: Go to Echosim.io and test this skill with your voice. Once you logged in with your Amazon developer credentials you can hold down the space bar and start speaking - release the space bar when you'd like to finish your voice input. Start with 'open number guessing'.

<< Lab 1 | Lab 2 | Lab 3 >>