Image Alt Text

News

Now you can integrate ChatGPT with WhatsApp? Here’s how

January 25, 2023 11:20 PM


ChatGPT is currently the new buzzword in the era of artificial intelligence which is providing a lot of help to developers, content creators and many others to bring efficiency to their work with reduced time and effort.

The artificial intelligence (AI) backed chatbot has become a go-to tool for many industries and sectors

Want to integrate the chatbot with your WhatsApp account so that you can access it faster?

There is no official or direct way to incorporate ChatGPT into your WhatsApp account.

However, there are other methods where you can try your hands at.

There are essentially two methods through which you can integrate ChatGPT with WhatsApp.

One way is to make a WhatsApp bot and link it to ChatGPT.

Another method involves setting your WhatsApp number using a Python script and launching ChatGPT simultaneously.

Let’s take a look at both these methods one-by-one

Method 1

First step involves building a WhatsApp bot.

To do so, register WhatsApp Business Programming interface (API) and create a flow for the chat. Then use a chat developer follow your chatbot and put the API chatbot on your phone.

Next step requires you to get an OpenAI API. For this, make an OpenAI account and visit its programming interface key page. Here, create a secret key.

Third and final step is to use OpenAI API to connect to the WhatsApp bot you created. Do note that there are chances that WhatsApp may end up blocking you, if it did not find the integration genuine. So this step must be done at your risk.

Method 2

In order to integrate ChatGPT with WhatsApp, download the code from GitHub. Execute server.py in the terminal, followed by a couple of other steps to integrate ChatGPT into your WhatsApp account.

- Download the code from GitHub

- Click ‘download zip’ to download the file

- Next, execute the ‘Whatsapp-gpt-principal’ file in the terminal

- Execute ‘server.py’ record in the terminal

- Now, enter ‘Is’ and hit enter

- Enter ‘python server.py’. Your phone will be automatically configured to OpenAI visit page

- Next step is to verify that you are a human. Check the ‘I’m a human’ box

- Go to your WhatsApp account and you will find OpenAI ChatGPT integrated there.



Most Read

  1. MD CAT students stage protest against test cancellation in Peshawar MD CAT students stage protest against test cancellation in Peshawar
  2. Sindh education department enforces strict leave policy for newly hired teachers Sindh education department enforces strict leave policy for newly hired teachers
  3. Fans disapprove of Aruba Mirza’s victory in popular TV show Tamasha Fans disapprove of Aruba Mirza’s victory in popular TV show Tamasha
  4. Injection responsible for causing eyesight loss among hundreds in Punjab recalled Injection responsible for causing eyesight loss among hundreds in Punjab recalled
  5.    Loss of vision: Sindh govt bans Avastin injection sale, purchase   Loss of vision: Sindh govt bans Avastin injection sale, purchase
  6. Disinfection certificates made mandatory for international flights Disinfection certificates made mandatory for international flights

Opinion

  1. Orange Line Metro Train: Bridging Nations and Palates – Mr. Yunlin's Unforgettable Moments in Lahore
    Orange Line Metro Train: Bridging Nations and Palates – Mr. Yunlin's Unforgettable Moments in Lahore

    By Ali Ramay

  2. India’s invasion of Kashmir is violation of UN Charter
    India’s invasion of Kashmir is violation of UN Charter

    By Dr Ghulam Nabi Fai

  3. World Suicide Prevention Day: Creating Hope Through Action
    World Suicide Prevention Day: Creating Hope Through Action

    By Dr Asif Channer

  4. Gender equality: A pre-requisite for a balanced society
    Gender equality: A pre-requisite for a balanced society

    By Mehak Sabir

  5. Time to move on and build a better Pakistan
    Time to move on and build a better Pakistan

    By Murtaza Rafiq Bhutto