Amazon Launches Alexa Skills Kit SDK for Python
Amazon Launches Alexa Skills Kit SDK for Python
Written by Kay Ewbank   
Thursday, 12 July 2018

Amazon has launched the beta of a Python SDK designed to make it easier to work with Alexa responses and requests. The Python version has the same features as the existing SDKs for Java and Node.js.

The SDK is intended for Python developers who want to add voice experiences using Alexa and the extensive Python support libraries and tools.

Apps incorporating Alexa involve building an Alexa skill. Under the covers, this means you provide a cloud-based service that receives JSON requests sent by Alexa, and returns a JSON response that Alexa then uses to respond to the user. The SDKs can be used to handle requests, to build responses, to manage attributes, and to make Alexa API calls.

The request handling gives you the choice of what code should be invoked when Alexa sends a request, either a single handler for multiple Alexa intents, or different handlers based on Alexa request attributes. The ASK SDK also has flexible handler registration, so you can choose whether to use decorators or traditional class-based implementations of handler features.

The response building features can be used to create and deliver a variety of responses including text-to-speech and audio and video streams. You can also send cards and other visual elements. The response that is actually received by the end user of your app will depend on the type of Alexa-compatible device they are using.

The SDK also lets you manage attributes, storing and retrieving information at different scopes using Attributes in the SDK. Attributes can be used to keep track of what happened so far, and to use this information to determine what happens next. You can define attributes that for a single request, for a single customer session, or for the lifetime of your skill.

The final part of the SDK is the ability to call nearly any Alexa API from within your skill logic using service clients in the SDK. The service clients automatically inject relevant endpoint and authentication token information on your behalf.

The SDK comes with samples and documentation, and Alexa skills created using it can be hosted in AWS Lambda or the infrastructure of your choice.

 alexa72018

More Information

Alexa Skills Kit SDK For Python On GitHub

Alexa Skills Kit (ASK)

Related Articles

Alexa In-Skill Purchasing Goes Live

Analyzing Alexa

Amazon Starting To Monetize Alexa Skills

Google AI At I/O

Amazon Expands Alexa Skills Rewards Program

Alexa For Business - The Big Shake Up

Amazon Alexa Extending Its Influence

The State Of Voice As UI

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.

Banner


IBM Debater Argues Like A Human - But How?
20/06/2018

IBM is the outlier when it comes to AI. Most other companies are taking the neural network path, but IBM is very much into old-fashioned engineering. The new system has neural networks involved, but t [ ... ]



A New Type Of Drone
14/07/2018

We are well beyond peak drone - to be more accurate beyond peak drone videos. There doesn't seem much left to do but find applications. A tricopter is a bit special and interesting to watch.


More News

justjsquare

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 12 July 2018 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.