Home

Awesome

CodeComments

CodeComments is an Alexa skill that provides an explanation of how to comment in a user-supplied programming language.

Sample Interaction:

This skill is primarily intended for programmers needing a quick learning session or reminder on how to comment in a certain language. There are currently responses for 30 programming languages available.

Project Format

The speech_assets folder contains the files which comprise the Voice User Interface:

The ask folder is based on the ask-alexa-pykit and is used to help develop an Alexa skill in Python.

The lambda function in lambda_function.py is used to run the Alexa skill using AWS Lambda.

To Create the Lambda Function

Most of the steps taken to create the Lambda function are found on this page:

https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/developing-an-alexa-skill-as-a-lambda-function

Namely:

To Upload to Lambda

One you have finished writing your code, right click all of the following, then compress:

Return to the AWS Management console, edit your Lambda function, select the Code tab, and upload this compressed zip file.

Testing

Text/JSON calls and responses - https://developer.amazon.com/edw/home.html

Vocal calls and responses - https://echosim.io/

Written by Amanda Rice