This tutorial will walk first-time Alexa skills developers through all the required steps involved in creating a skill using this hello world template, called ‘hello world’. This post assumes you have some familiarity with Python (or a similar programming language) and the Alexa Skills Kit.
This simple sample has no external dependencies or session management, and shows the most basic example of how to create a Lambda function for handling Alexa Skill requests.
To run this example skill you need to do two things. The first is to deploy the example code in lambda, and the second is to configure the Alexa skill to use Lambda.
Skills can be built either by implementing AbstractRequestHandler
classes
or by using skill builder's request_handler
decorator. More information
on this can be checked in the documentation.
This sample skill shows how to implement AbstractRequestHandler
class
and register the handler classes explicitly in the skill builder object.
The code for this implementation is under lambda/py folder.
For the sample skill using the decorators
approach, check
skill-sample-python-helloworld-decorators.
- Amazon Developer Forums : Join the conversation!
- Hackster.io - See what others are building with Alexa.
- Voice Design Guide - A great resource for learning conversational and voice user interface design.