Simple, extendable, voice interaction with parliamentary data.
Alexa Parliament Skill is a Node.js application created by the Parliamentary Digital Service that allows Alexa-enabled devices to communicate parliamentary data to it's users through a VUI (Voice User Interface).
The technical overview covers how the skill itself functions. A user speaks a voice command, this triggers the AWS Lambda function running this node application, and the application contacts the parliamentary calendar.
The flowchart documents the flow of our skill, showing the user inputs, internal decisions, and eventual outputs.
Date | Name | |
---|---|---|
2017-05-16 | Digital Team Meeting at PDS |
Alexa Parliament requires the following:
- Node.js - click here for the exact version
- npm
To clone the repository and set up the dependencies, run the following:
git clone https://github.com/mattrayner/alexa-parliament.git
cd alexa-parliament
npm install
We use Mocha and Chai (among others) for testing. The tests can be run using:
npm test
If you wish to submit a bug fix or feature, you can create a pull request and it will be merged pending a code review.
- Fork the repository
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Ensure your changes are tested using [Rspec][rspec]
- Create a new Pull Request
Alexa Parliament Skill is licensed under the MIT license.