Created
May 21, 2020 09:41
-
-
Save Scar26/7a543e31541f2ca2352cb1bf2c0aee89 to your computer and use it in GitHub Desktop.
esting script for v1.0 of juicy-chat-bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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