WhatsApp bot for OpenAI ChatGPT
Top 62.7% on sourcepulse
This project provides a WhatsApp bot integrated with OpenAI's ChatGPT and DALL-E models, enabling users to generate text and images directly within WhatsApp conversations. It targets individuals seeking to leverage AI capabilities through a familiar messaging interface.
How It Works
The bot utilizes the Baileys library for WhatsApp communication and Node.js for its backend. Users interact with the bot via specific commands (/ai
for ChatGPT, /img
for DALL-E). The bot processes these commands, sends requests to the OpenAI API with the provided text prompt, and returns the generated text or image URL to the WhatsApp chat.
Quick Start & Requirements
npm install
node index.js
Highlighted Details
Maintenance & Community
No specific community channels or maintenance details are provided in the README.
Licensing & Compatibility
Limitations & Caveats
The project requires an OpenAI API key, and setup involves cloning a repository and installing Node.js dependencies. No information on error handling or scalability is present.
4 months ago
1 day