This is a source code to build a WhatsApp bot using OpenAI bot and Node.js. The bot is capable of understanding natural language and providing information on various topics. It can be used to answer questions, provide advice, and even have conversations with users. With this source code, you can create a powerful bot that can be used for a variety of purposes.
NOTE: DON'T MESS UP WITH INDEX.JS FILE.
$ git clone https://github.com/harshitethic/whatsapp-chatgpt
$ cd whatsapp-chatgpt
$ npm install
$ node index.js
NOTE: SETUP KEYS IN accesser.json