Skip to content

Instantly share code, notes, and snippets.

@glaforge
Created May 4, 2017 10:29
Show Gist options
  • Save glaforge/c33b4e7f628521cb13ca19a5f2156a69 to your computer and use it in GitHub Desktop.
Save glaforge/c33b4e7f628521cb13ca19a5f2156a69 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