dacay / apiai-facts-about-google-nodejs

Facts about Google API.AI sample for Actions on Google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actions on Google Facts about Google Sample using Node.js

This is a knowledgable Action that shares interesting facts about Google. The sample introduces advanced features like custom entities, contexts, and deep links. Use this Action and you might see that it even knows about a subject other than Google!

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 FactsAboutGoogle.zip file in this repo.
  6. Deploy this action to your preferred hosting environment (we recommend Google Cloud Functions).
  7. Set the "Fulfillment" webhook URL to the hosting URL.
  8. Make sure all domains are turned off.
  9. Enable Actions on Google in the Integrations.
  10. Enter the following intents as "Additional triggering intents"
    • choose_google
    • choose_cats
  11. In the quit_facts intent, check "End Conversation" for Actions on Google.
  12. Provide an invocation name for the action.
  13. Authorize and preview the action in the web simulator.

For more detailed information on deployment, see the documentation.

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

Facts about Google API.AI sample for Actions on Google

License:Apache License 2.0


Languages

Language:JavaScript 100.0%