Skip to content

This project creates a WhatsApp bot with Node.js and Baileys library, integrating OpenAI for intelligent responses.

Notifications You must be signed in to change notification settings

JosuaLimbu/ChatbotAI-Whatsapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoboJosh-WhatsApp-Bot-AI

This project involves creating a simple WhatsApp bot using Node.js and the Baileys library, integrated with the OpenAI API to deliver intelligent message responses. The Baileys library facilitates seamless interaction with WhatsApp, allowing the bot to send and receive messages efficiently. By harnessing the power of OpenAI's language models, the bot can generate contextually relevant and intelligent replies to user messages, making it a powerful tool for automating WhatsApp conversations. The project is designed for ease of setup and deployment, with clear instructions provided for installing and configuring the necessary dependencies. This combination of technologies offers an effective and efficient solution for those looking to implement an AI-driven chatbot on the WhatsApp platform.

Get & Change ChatbotAI ApiKey

  • Please create your API key first here
  • Replace the OpenAI API key in the tes.js and josua.js files

Install

Install on Windows

Install NodeJS and Git Bash first

After that, open Git Bash and follow these commands:

$ git clone https://github.com/JosuaLimbu/ChatbotAI-Whatsapp.git
$ cd ChatbotAI-Whatsapp
$ npm install
$ npm start
  • After you run npm start, wait for a moment and a barcode will appear in the terminal. Then, open your WhatsApp, go to the linked devices menu, and scan the barcode displayed in the terminal.
  • Chat with the linked number using another number.

About

This project creates a WhatsApp bot with Node.js and Baileys library, integrating OpenAI for intelligent responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published