This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetch = require('node-fetch'); | |
const dialogflow = require('dialogflow'); | |
const projectId = '<Dialogflow JSON project_id>'; | |
const dfConfig = { | |
credentials: { | |
private_key: '<Dialogflow JSON private_key>', | |
client_email: '<Dialogflow JSON client_email>' | |
} | |
} |