convo-integrator
v1.0.1
Published
Simple tool to facilitate natural language interfaces.
Downloads
2
Readme
Conversation Integrator
Low-level API to facilitate natural language interfaces.
Example usage
var Convo = require('convo-integrator');
var config = {
actions: {
say: (phrase) => {
console.log(phrase);
}
},
intents: {
HelloIntent: {
triggers: ['hi', 'hey', 'hello'],
actions: [
{say: 'hello! this worked'}
]
}
}
}
var convo = new Convo(config);
convo.prompt();