Name: hpe-onesphere-alexa
Owner: Hewlett Packard Enterprise
Description: Alexa voice activation for OneSphere
Created: 2017-12-05 17:17:56.0
Updated: 2018-03-02 22:18:08.0
Pushed: 2017-12-28 21:14:07.0
Size: 26
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Python lambda function implementing a voice activated command console for OneSphere.
This lambda function written in Python is an function that is triggered by an Alexa Skills Kit. There are three intents that are currently coded. They are:
The sample utterances that are tied to these intents are:
BroHugDistance
ServiceStatus
TotalMonSpend
The lambda function expects to have the following environment variables set:
The credentials and the URL are essentially hard-coded in lambda environment variables. The code relies on the AWS KMS encryption for data-at-rest security. Certainly this is a hack and a better method should be implemented. When OneSphere supports identity providers then the code should implement linked identity.
Here is a youtube video demonstrating the initial version of the code:
Ensure that the zip file that packages this skill for lambda includes the dependent Python libraries (i.e. requests). This code was tested against Python 2.7.
171205 - Initial version.
171228 - Major restructuring of the code. Leveraged Anjishnu Kumar's excellent SDK for writing Alexa skills in Python. Added several new intents.