- Create a new skill using the Alexa Skills Kit Developer Console
- Configure Intents (Built-in and Custom) and Sample Utterances, and slots.
- Configure the backend for your skill using Alexa Skills Kit (Node.js) & Alexa Hosted Skills
- Making an external API call to get data from Las Vegas Open Checkbook API
- Test a skill using the Alexa Testing Simulator and an Echo device.
This workshop is split into 6 modules, with each module building off the previous.
In this module, you will create the basic scaffold for the smart city skill using the Alexa Skills Kit SDK in NodeJS and Alexa Hosted. When launched, this Alexa skill will respond back with a simple “Hello Vegas" response.
In addition to the built-in intents, this skill will use a few custom intents. In this module, you will add a new intent (MoneySpentIntent), and use that to respond to the customer utterance - “how much money did we spend on {department} in {year}”, collecting the department name, and year from the customer as inputs (we call these slots).
In this module, you will replace the placeholder response we set in the last module with actual data returned by calling the Las Vegas Open Checkbook API, and including the department name, and year we received from the customer as parameters while queuing the API.
In this module, you will add a new intent (MoneyMetricsIntent), and use that to respond back to the customer utterance - "what department did we spend the {type: least/most} money on?”:, collecting the type of query (least/most) from the customer as inputs (we call these slots).
In this module, you will replace the placeholder response in the last module with actual data returned by calling the Las Vegas Open Checkbook API, and including the year, and type of query (least amount/most amount) we received from the customer as parameters while queuing the API.
Module 6: Repeat the last response by using “AMAZON.RepeatIntent” - a built-in intent provided by Amazon
In this module, you will add a built-in intent - AMAZON.RepeatIntent. It is one of the many standard built-in intents that lets the user request to repeat the last action. So, our skill will be able to respond back to the utterance “can you repeat that”, “what was that again” etc.
- Add Memory to your skill
- Add SSML, Sound Effects, and Amazon Polly: In every interaction of your skill, you will create a more immersive experience for your customer by integrating SSML, Sound Effects, and Amazon Polly to the voice responses.
- Make Money with In-Skill Purchasing: Your customer will be able to purchase premium content within your skill, making their experience more delightful and surprising. Here's a "Hello World" code sample to get started with.
This library is licensed under the Amazon Software License