HewlettPackard/hpe-onesphere-alexa

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

Homepage:

Size: 26

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Ask Alexa OneSphere

Python lambda function implementing a voice activated command console for OneSphere.

Getting Started

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:

Prerequisites

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.

What's New

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.

Contributing

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.