rfletcher / snips-chat

A simple text-based API for chatting with your Snips.ai virtual assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?");

About

A simple text-based API for chatting with your Snips.ai virtual assistant


Languages

Language:JavaScript 99.3%Language:Shell 0.7%