hectorperez / apiai-number-genie-nodejs

Number Genie API.AI sample for Actions on Google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actions on Google Number Genie Sample using Node.js

This guess a number game, called Number Genie, is an action for the Google Assistant.

Setup Instructions

Pre-requisites

  1. API.AI account: https://api.ai
  2. Google Cloud project: https://console.cloud.google.com/project

See the developer guide and release notes at https://developers.google.com/actions/ for more details.

Steps

  1. Create a new agent in API.AI https://api.ai.
  2. Click on the project gear icon to see the project settings.
  3. Select "Export and Import".
  4. Select "Restore from zip". Follow the directions to restore.
  5. Select the NumberGenie.zip file in this repo.
  6. Host the wav files in the audio folder on a web server and modify the URL's in the app.js file.
  7. Deploy this app to your preferred hosting environment (we recommend Google App Engine).
  8. Set the "Fulfillment" webhook URL to the hosting URL.
  9. Make sure all domains are turned off.
  10. Enable Actions on Google in the Integrations.
  11. Provide an invocation name for the action.
  12. Authorize and preview the action in the web simulator.

References and How to report bugs

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.md.

Terms

Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.

Google+

Actions on Google Developers Community on Google+ https://g.co/actionsdev.

About

Number Genie API.AI sample for Actions on Google

License:Apache License 2.0


Languages

Language:JavaScript 100.0%