customchatbot
v1.0.6
Published
You can make your own chatbot (very easy)
Downloads
3
Maintainers
Readme
Everyone can make own chatbot now!
Everyone can make own chatbot with this package very easy.
Properties
- Auto Training
- You can manage database
- It pulls the most similar data recorded, so you don't need to record everything in the most detailed way.
- %100 Free
Usage
const chatbot = require("customchatbot");
chatbot.train("hello", "Hi, how can I help you sir?") // You can train your own chatbot
await chatbot.getEverything() // You can get JSON database.
await chatbot.chat("hello") // You can use your chatbot.
await chatbot.getData("hello") // Says "Hi, how can I help you sir?"
chatbot.removeTrainedData("hello") // You can remove trained data.
chatbot.autoTraining(true) // true or false. You can enable and disable auto training system.
chatbot.resetEverything() // You can reset the JSON database.
chatbot.exportDatabase("customchatbotDatabase.json") // You can export the database.
chatbot.importDatabase("customchatbotDatabase.json") // You can import the database.
This package is made by Utiric Code.