Skip to content

The color picker skill is a simple skill where alexa asks you to pick a color and responds back with the color you chose, when you ask it what is your favorite color. This sample Alexa Skill is written in Python and demonstrates the use of session attributes.

License

alexa-samples/skill-sample-python-colorpicker

Repository files navigation

Build An Alexa Color Picker Skill using ASK Python SDK

This Alexa sample skill is a template for a basic color picker skill.

Concepts

The color picker skill is a simple skill where alexa asks you to pick a color and responds back with the color you chose, when you ask it what is your favorite color. This sample Alexa Skill is written in Python and demonstrates the use of session attributes and response interceptors.

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

Be sure to take a look at the Additional Resources!

Usage

Alexa, open color picker
	>> ...Please tell me your favorite color... 
Red
	>> Now I know that your favorite color is Red.
       You can ask me your favorite color by saying, what's my favorite color ?.       
...

Repository Contents

  • /lambda - Back-End Logic for the Alexa Skill hosted on AWS Lambda
  • /models - Voice User Interface and Language Specific Interaction Models
  • /instructions - Step-by-Step Instructions for Getting Started

Additional Resources

Community

Tutorials & Guides

  • Voice Design Guide - A great resource for learning conversational and voice user interface design.
  • CodeAcademy: Learn Alexa - Learn how to build an Alexa Skill from within your browser with this beginner friendly tutorial on CodeAcademy!

Documentation

About

The color picker skill is a simple skill where alexa asks you to pick a color and responds back with the color you chose, when you ask it what is your favorite color. This sample Alexa Skill is written in Python and demonstrates the use of session attributes.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published