|Médéric Hurier 075d5c1767 Delete 'LICENSE.txt'||2 months ago|
|images||1 year ago|
|speechAssets||1 year ago|
|src||1 year ago|
|.gitignore||1 year ago|
|OLD_SPACE_GEEK_INSTRUCTIONS.md||1 year ago|
|README.md||1 year ago|
It’s time to create your own Alexa Skill!. In this project, you’ll build a fully functional skill for Amazon’s Alexa that provides year-dated facts from AI History (or some other History of your choosing). Through the process, you’ll get to use the Alexa Skills Kit (ASK) - a current state of the art API for building voice systems.
We highly recommend you complete the Space Geek lab in the classroom, which steps you through setting up your Amazon Developer and Amazon AWS accounts as well as building the project this one is based on. If you’ve already done that, your accounts are ready to go. find more detail on this in the classroom or see Amazon’s sample fact skill repo
Install your starter code locally.
AIND-VUI-Alexa. It contains the following directories and files:
AIND-VUI-Alexa/srcdirectory of the starter code and open a terminal window.
package.jsonfile and include the alexa-sdk library for Alexa as well as mocha test framework for Node.js along with chai and aws-lambda-mock-context for local unit testing. Install them all with the following command:
shell $ npm install
srcdirectory. This is how Node.js attaches libraries for your code.
srcdirectory with the following command. Try it now:
shell $ npm testThe test code is in four parts: “Part 1”, “Part 2”, “Part 3”, and “Starter Code”. The starter code tests should pass and all others should fail. You may have to scroll up to see the passing tests. As you complete the tasks ahead, you can use these unit tests (and write more yourself) to quickly test code changes prior to deployment to AWS Lambda.
The starter code provides a simple fact skill similar to Space Geek, except a few AI history facts have been provided in an external file,
facts.js, instead of the space facts. Each fact includes a 4-digit year in its text, which we will use in the project for a new feature.
The project consists of three parts:
Follow the instructions for each part as described in the classroom under “Tasks” for the project. Once all the unit tests pass, follow the submission instructions to submit your project for review!