Helovox is an AI-powered WhatsApp bot using whatsapp-web.js and GPT-4o-mini, incorporating the RAG (Retrieval-Augmented Generation) concept for smart message retrieval. The app offers personalized interactions, enabling image descriptions and audio processing.
- Smart Message Retrieval: Utilizes RAG for efficient and accurate responses.
- Image Description: Analyzes and describes images sent via WhatsApp.
- Audio Processing: Converts audio messages to text and provides AI-generated responses.
- Node.js (v14 or above)
- npm (v6 or above)
- A WhatsApp account for integration
- MongoDB (optional but recommended for storing message history)
- Clone the repository:
git clone https://github.com/yourusername/helovox.git
- Install dependencies:
npm install
- Set up environment variables:
- Create a
.env
file in the root directory. - Add the following:
MONGODB_URI=your_mongodb_uri (optional, if using MongoDB) SESSION_FILE_PATH=./whatsapp-session.json GPT_API_KEY=your_gpt_api_key
- Create a
- Start the app:
npm start
Once the app is running, scan the QR code displayed in the console using WhatsApp Web. The bot will connect and start processing messages.
- Message Retrieval: The bot uses RAG to find relevant information for intelligent responses.
- Image Descriptions: Send an image and type "describe image" to receive a detailed AI-generated description.
- Audio Processing: Send an audio message, and the bot will convert it to text and respond accordingly.
Disclaimer: Helovox integrates with WhatsApp using whatsapp-web.js, which is an unofficial method. It is not recommended for commercial purposes without implementing proper security and privacy measures. Users assume full responsibility and must ensure compliance with data protection regulations. Proceed at your own risk.
For more information on how the connection works, refer to the whatsapp-web.js documentation.
Helovox is licensed under the MIT License. See LICENSE
for more information.