Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 905 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 905 Bytes

WhatsApp GPT Bot

This is chat bot built with Chat GPT from openai.com and using whatsapp-web.js api to connect with WhatsApp.

Prerequisite

Before installing this you need generate and API Key from https://beta.openai.com

after that create an .env file in root directory of this project like this-

OPENAI_API_KEY=sk-YKMbn3OxnCBHB4qr0nttt3BlbkFJA404knaZOhlUuZ63BiE3

How to use it

You can use this WhatsApp GPT Bot with you whatsapp account

  1. run npm install to install all dependency of this project.
  2. run npm start to start Bot server
  3. scan QR code with your first Whatsapp account from Linked Devices option
  4. after successful authentication, tell your friend to ask any question on your whatsapp number in this format. or you can also ask question by sending message from your second whatsapp account.

gpt, write a code for express server?