Created
March 23, 2020 14:29
-
-
Save savelee/620084b4806ad6c4a5d105235dd88262 to your computer and use it in GitHub Desktop.
getValidationResult Dialogflow
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 dialogflow = require('dialogflow'); | |
const client = new dialogflow.v2beta1.AgentsClient({ | |
// optional auth parameters. | |
}); | |
client.getValidationResult({}) | |
.then(responses => { | |
const response = responses[0]; | |
// doThingsWith(response) | |
}) | |
.catch(err => { | |
console.error(err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment