smart-botto
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

SMART BOTTO

Smart(est) chatbot Based on EIF APIs



Installation

> npm i smart-botto

Usage

const { Bot } = require('smart-botto')
//import { Bot } from 'smart-botto'

const chatbot = new Bot('Emilia') //Name of the bot

chatbot.chat({
    message: 'Hey', //message to pass to chatbot,
    user: 'USERID' //ID of the user to keep track of the convo
})
.then((res) => console.log(res)) 
/* {
    message: 'Hey',
    response: 'Hi there!'
} */

Package Sidebar

Install

npm i smart-botto

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

15.7 kB

Total Files

21

Last publish

Collaborators

  • alensaito1