Skip to content

Mr Ngwang is an ai robot powered by chatgpt-3 to make your conversations as easy and smoth than never before, developed by Mr Ngwang

Notifications You must be signed in to change notification settings

Ngwangshalom/MrNgwang-AI-Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatsapp Chatbot

This project is a whatsapp bot that uses OpenAI's ChatGPT to respond to user inputs. To use ChatGPT, simply type shalom followed by your prompt, and the bot will generate a response.

You can also disable the shalom Prefix and send all messages to ChatGPT instantly.

Requirements

  • Node.js
  • A recent version of npm
  • An OpenAI Account

.env File example

EMAIL=your_email
PASSWORD=your_password

PREFIX_ENABLED=true

Installation

  1. Clone this repository.
  2. Install the required packages by running npm install
  3. Put your Email and Password into the .env File (EMAIL, PASSWORD)
  4. Run the bot using npm run start
  5. A browser opens, complete the captcha and click login
  6. Scan the QR Code with Whatsapp (Link a device)
  7. Now you're ready to go :)

Usage

To use the bot, simply send a message with !gpt command followed by your prompt. For example:

shalom What is the meaning of life?

The bot only responds to messages that are received by you, not sent.

Used libraries

About

Mr Ngwang is an ai robot powered by chatgpt-3 to make your conversations as easy and smoth than never before, developed by Mr Ngwang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published