alexa-labs / alexa-skills-kit-sdk-for-python
- воскресенье, 1 июля 2018 г. в 00:14:15
Python
The Alexa Skills Kit SDK for Python (Beta) helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
The ASK SDK for Python (Beta) makes it easier for you to build highly engaging skills, by allowing you to spend more time on implementing features and less on writing boiler-plate code.
To help you get started with the SDK we have included the following guides. In the future, we plan to include more documentation and samples too.
This guide will show you how to include the SDK as a dependency in your Python project.
Walks you through step-by-step instructions for building the Hello World sample.
Covers how to build request handlers, exception handlers, and request and response interceptors.
Covers how to use skill attributes to store and retrieve skill data.
Covers how to use the ResponseBuilder to compose multiple elements like text, cards, and audio into a single response.
Covers how to use service clients in your skill to access Alexa APIs.
Covers how to configure and construct a skill instance.
This code sample will allow you to hear a response from Alexa when you trigger it. It is a minimal sample to get you familiarized with the Alexa Skills Kit and AWS Lambda.
This is a step-up in functionality from Hello World. It allows you to capture input from your user and demonstrates the use of Slots. It also demonstrates use of session attributes and request, response interceptors.
Template for a basic high-low game skill. When the user guesses a number, Alexa tells the user whether the number she has in mind is higher or lower.
Sample skill that shows how to request and access the configured address in the user’s device settings.