snips-chat
Sad update: As of November 2019, Snips was sold to Sonos, and Sonos immediately killed the open-source project. :(
snips-chat
is no longer useful.
A simple API for text-based communication with Snips, an open-source virtual assistant.
See index.js for a more complete example, but the API looks something like this:
var config = {};
const snips = new Snips(config);
// handle incoming messages from Snips
snips.on("message", function(recipient, message) {
console.log(`Send to ${recipient}: ${message}`);
});
// send a test message to Snips
snips.push("user@example.com", "is it hot outside?");