spike-chatbot
v1.0.31
Published
```bash npm i spike-chatbot ```
Downloads
9
Readme
Spike
npm i spike-chatbot
Training
const {Spike, Vector} = require('spike-chatbot');
var vector = new Vector('./data/wiki.short.vec');
await vector.load();
var convo = new Spike(config, vector, './bin/'); // make sure bin exists
await convo.train();
Responding
var userId = 123;
var threshold = .2;
await convo.receive(123, 'hello world', threshold);
Data
Provided by fasttext