Skip to content

mchamoudadev/whatsapp-ai-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp AI Bot

Welcome to the WhatsApp AI Bot! This project leverages the power of Node.js, wwebjs.dev, and OpenAI's GPT-4 model to create an intelligent and versatile chatbot for WhatsApp.

Table of Contents

Features

  • AI-Powered Conversations: Integrates OpenAI's GPT-4 model to provide intelligent and context-aware responses.
  • WhatsApp Integration: Uses wwebjs.dev to seamlessly connect with WhatsApp.
  • Versatile Use Cases: Can be adapted for various purposes, including customer support, personal assistance, and more.

Tech Stack

  • Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine.
  • wwebjs.dev: WhatsApp Web API for creating WhatsApp bots.
  • OpenAI GPT-4: Advanced language model for generating human-like text responses.

Installation

  1. Clone the repository:

    git clone https://github.com/mchamoudadev/whatsapp-ai-bot.git
    cd whatsapp-ai-bot
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root directory and add your OpenAI API key and other necessary configurations.

    OPENAI_API_KEY=your_openai_api_key

Usage

  1. Start the bot:

    node index.js
  2. Scan the QR code: Open WhatsApp on your phone, go to Settings > WhatsApp Web, and scan the QR code displayed in the terminal.

  3. Interact with the bot: Start chatting with your WhatsApp bot and experience the power of AI-driven conversations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published