This is a demo of a what app chat bot that uses natural language processing. It uses whatsapp-web.js and nlp.js. whatsapp-web.js uses whats app web under the hood and remember to enable multidevice in your whatsapp. This is just a basic model capable of answering general conversation questions.
to get setup with this project you can follow the following steps.
-
Install whatsapp-web.js library
npm install whatsapp-web.js
-
Install qrcode scanner to be able to connect the our whatsapp to the bot
npm install qrcode-terminal
-
Install nlp.js
npm install @nlpjs/basic
-
Running the bot
node index.js
5 Scan qrcode the start a conversation