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. LHC orders steel mill demolition over pollution LHC orders steel mill demolition over pollution
  2. Foreigners safe after suicide-bomber targets their van in Karachi Foreigners safe after suicide-bomber targets their van in Karachi
  3. Solar panel rate sinks massively in Lahore Solar panel rate sinks massively in Lahore
  4. Mehar Bano and Mamya Shajaffar’s bold dance videos invite public's wrath Mehar Bano and Mamya Shajaffar’s bold dance videos invite public's wrath
  5. Finance minister rules out further rupee devaluation Finance minister rules out further rupee devaluation
  6. Iran shoots down several drones as Israel ‘launches’ attacks Iran shoots down several drones as Israel ‘launches’ attacks

Opinion

  1. Insights into the Pakistan Stock Exchange's Recent Record High Triumph
    Insights into the Pakistan Stock Exchange's Recent Record High Triumph

    By Zulfiqar Ali Mir

  2. IMEC to sabotage CPEC
    IMEC to sabotage CPEC

    By Dr Asif Channer

  3. 1947 TO FORM 47
    1947 TO FORM 47

    By Dr Asif Channer

  4. Beijing wants to further highlight industrial sector in its country and take scientific innovation to new heights....
    Beijing wants to further highlight industrial sector in its country and take scientific innovation to new heights....

    By Ali Ramay

  5. Global race: China will reduce its unnecessary expenses
    Global race: China will reduce its unnecessary expenses

    By Ali Ramay

  6. Channer Pir: The Great Saint of Cholistan
    Channer Pir: The Great Saint of Cholistan

    By Dr Asif Channer