/CHAT-GPT-WHATSAPP

Primary LanguageJavaScriptMIT LicenseMIT

chat-gpt-whatsapp

This project allows you to automate WhatsApp messaging using a headless Chrome browser instance. It uses the WhatsApp web interface to interact with the messaging service, allowing you to send and receive messages.

Integrating ChatGPT with whatsapp-web.js would allow you to add an AI-powered chatbot to your WhatsApp automation. ChatGPT is a large language model trained on vast amounts of text data, and it can generate natural language responses to a wide range of user queries.

By combining these two tools, you could create a web app that enables users to interact with your business or organization via WhatsApp. For example, a customer service chatbot that uses ChatGPT could answer frequently asked questions, provide personalized recommendations, and help users troubleshoot issues. whatsapp-web.js would handle the actual messaging, while ChatGPT would provide the intelligent responses.

Overall, this integration has the potential to enhance your WhatsApp automation capabilities and provide a more engaging and helpful user experience for your customers.

Installation

Frontend

$ cd frontend/
$ npm i

Backend

$ cd frontend/
$ npm i

note: you will required to add .env OPENAI_API_KEY, you can get it from here

Usage

[describe a simple use of the thingie that you are pitching. keep it short]

Example

[Write something here describing the sample code below. The example code SHOULD WORK!]

Live demo

Nope... too expensive.

License

MIT Licensed