Skip to content

Instantly share code, notes, and snippets.

View priyankavergadia's full-sized avatar
🎯
Focusing

pvergadia priyankavergadia

🎯
Focusing
View GitHub Profile
@priyankavergadia
priyankavergadia / index.js
Created November 5, 2019 02:32
Cloud Function for Dialogflow Vision API Integration for Blog
'use strict';
const functions = require('firebase-functions');
const {google} = require('googleapis');
const {WebhookClient} = require('dialogflow-fulfillment');
const vision = require('@google-cloud/vision');
/**
* TODO(developer): Uncomment the following lines before running the sample.
*/
const bucketName = 'YOUR-BUCKET-NAME';
@priyankavergadia
priyankavergadia / index.js
Created August 3, 2019 02:03
Cloud Function for Dialogflow BigQuery Integration
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@priyankavergadia
priyankavergadia / index.js
Created April 26, 2019 06:31
Cloud Function for Scheduling Appointments with Dialogflow using Google Calendar
/*Copyright 2019 Google LLC.
SPDX-License-Identifier: Apache-2.0
*/
'use strict';
const functions = require('firebase-functions');
const {google} = require('googleapis');
const {WebhookClient} = require('dialogflow-fulfillment');