Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josualimbu/chatbotai-whatsapp


https://github.com/josualimbu/chatbotai-whatsapp

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

        

# 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](https://beta.openai.com/account/api-keys)
- Replace the OpenAI API key in the **tes.js** and **josua.js** files

## Install

**Install on Windows**

Install [NodeJS](https://nodejs.org/en/download/) and [Git Bash](https://git-scm.com/downloads) first

After that, open Git Bash and follow these commands:

```bash
$ 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.