Skip to content

Persian-Caesar/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Bot Package

A custom chat bot package free for all. This is free fully persian chatbot.

Example

const { Database, default: ChatBot } = require("@persian-caesar/chatbot");
const { QuickDB, JSONDriver } = require("quick.db");
const database = new Database(new QuickDB({ driver: new JSONDriver() }));
const chatBot = new ChatBot(database, "1");
const answer = chatBot.handleMessage("hello");
console.log(answer);

Contact