Skip to content

Instantly share code, notes, and snippets.

@Scar26
Created May 21, 2020 09:41
Show Gist options
  • Save Scar26/7a543e31541f2ca2352cb1bf2c0aee89 to your computer and use it in GitHub Desktop.
Save Scar26/7a543e31541f2ca2352cb1bf2c0aee89 to your computer and use it in GitHub Desktop.
esting script for v1.0 of juicy-chat-bot
const juice = require('./index');
bot = new juice.Bot('Jeff','Ma Nemma ', '{hi:"hello",name:""}');
console.log(bot.greet())
console.log(bot.factory.run('training_set'))
bot.train();
console.log(bot.factory.run('global.response_set'))
console.log(bot.respond("name"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment