Skip to content

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.

License

Notifications You must be signed in to change notification settings

alexa-samples/skill-sample-python-helloworld-classes

Repository files navigation

Build an Alexa Hello World Skill in ASK Python SDK (using Classes)

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.

Concepts

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.

Setup

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.

Get Started

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.

Additional Resources

Community

Tutorials & Guides

  • Voice Design Guide - A great resource for learning conversational and voice user interface design.

Documentation

About

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.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published