HeavyWater Codeathon: Virtual Assistant
- Liang Peng
- University of Pennsylvania
- Based on Alexa Voice Service and Alexa Skills Kit
- Make sure following environments are installed:
- Apache Maven
- Java 8
- Double click Service.bat
- Double click Client.bat
- DO NOT click OK! Copy the url in the popped up window (starting with https://localhost:3000) and paste it in a browser and enter. If you are warned with security issue, just select ignore and go ahead.
- Click OK.
- Now you can talk with Alexa after clicking "start listening".
- Try speaking following commands:
- HeavyWater
- What can you do?
- I have a file to upload. (e.g. file 1)
- Process the file. (e.g. file 2)
- What's the largest deposit?
- Report the types of documents.
Open http://echo.amazon.com in browser to see the conversation records.
- Set up Amazon AWS account
- Set up Amazon Developer account
- Create a Security Profile in developer console
- Set up Login with Amazon tab in developer console
- Create a Alexa Voice Service Device in developer console
- Download Alexa Sample App and generate self-certified credentials using OpenSSL
- Create a Lambda and select Java in AWS console
- Coding command handling logic, build code and upload to Lambda in AWS console
- Create a new Alexa Skill and customize Voice Schema in developer console
- Run sample app and test