Skip to content

Instantly share code, notes, and snippets.

@glaforge
Created May 4, 2017 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glaforge/4eedd63906aee0c00a18df4f9a3d0332 to your computer and use it in GitHub Desktop.
Save glaforge/4eedd63906aee0c00a18df4f9a3d0332 to your computer and use it in GitHub Desktop.
Code for the Cloud Functions implementation of the demo from Cloud Next San Francisco on extending the Google Assistant with Actions on Google, API.AI and Cloud Functions
https://www.youtube.com/watch?v=7e0RGIul8Kk
{
"name": "gcp-next-2017-agent",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "functions start && functions deploy agent2 --trigger-http",
"deploy": "rm -rf node_modules; gcloud alpha functions deploy agent2 --project gcp-next-2017-agent --trigger-http --stage-bucket gs://gcp-next-2017-agent/"
},
"description": "Google Cloud Next conference",
"main": "server.js",
"repository": "",
"author": "Guillaume Laforge",
"dependencies": {
"actions-on-google": "^1.0.7",
"node-fetch": "^1.6.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment