...
 
Commits (2)
......@@ -58,6 +58,9 @@ function createDetectStream() {
shouldStream = true;
console.log(`Detected intent:`);
console.log(sessionClient, data.queryResult);
console.log(`Query text:` + data.queryResult.queryText);
console.log(`Intent:` + data.queryResult.action);
//console.log(`Parameters:` + data.queryResult.parameters.fields.action);
}
})
.on('end', (data) => {
......