Skip to content

Instantly share code, notes, and snippets.

@savelee
Created March 23, 2020 14: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 savelee/620084b4806ad6c4a5d105235dd88262 to your computer and use it in GitHub Desktop.
Save savelee/620084b4806ad6c4a5d105235dd88262 to your computer and use it in GitHub Desktop.
getValidationResult Dialogflow
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