#Whatsapp + ChatGPT = ❤

221 messages · Page 1 of 1 (latest)

vagrant yew
#

Feel free to ask questions if you have some 🙂

austere warren
#

Hello, I cannot find the .env file. May you help me locate it?

austere warren
civic merlin
wispy bridge
#

nice

vagrant yew
vagrant yew
vagrant yew
sharp cobalt
#

@vagrant yew hey

#

could you make a short video - could be youtube, shows step by step for visual learners

#

thanks

short widget
#

not for yt just here @sharp cobalt

sharp cobalt
lean star
#

Hmm there are two session tokens both are not working :/

whole dove
#

@vagrant yew i keep on getting npm WARN deprecated puppeteer@13.7.0: < 18.1.0 is no longer supported

quiet tree
#

Hi! There is a official chatGPT API?

whole dove
quiet tree
#

I want to integrate my chatbot on WhatsApp with OpenAI. See if I can create a more natural conversation with my clients.

whole dove
#

If I’m correct you can only message the chatbot yourself and nobody else

whole dove
grizzled kettle
#

Where is the ENV file? How to create it?

whole dove
# grizzled kettle Where is the ENV file? How to create it?

You’ll need to create it yourself,

Go to your Directory (meaning the place you place your downloaded file) Open that folder eg. WhatsppGPT with your favorite CODE EDITOR like VScode and add a file “.env” then follow the instructions above on how to add the token

whole dove
lethal solstice
# quiet tree Hi! There is a official chatGPT API?

No, there is not yet. It's currently only in "private preview", they show you that message if you've ever used it - to be clear, I think a lot of people are confusing semantics when they say anything about an OpenAI API simply because they are not necessarily using the same model. I.e. one person's API could be using davinci-001, while another's 003 - both will get some different results, even if used in the same way. In the same context, ChatGPT is it's own model that isn't capable of being leveraged (yet). Likely only a matter of time though after they've gathered enough feedback and made tweaks to it.

clever crest
#

i love coming across stuff being built with the chatgpt package 😄

vagrant yew
vagrant yew
vagrant yew
#

Show me 🙂

#

I added you as friend, you can write me a DM @whole dove

vagrant yew
#

❗ New Update:

You can now put PREFIX_ENABLED=false into the .env File and it will disable the !gpt Prefix and will forward the exact message to ChatGPT for answering 🙂

#

Okay, nice one. Thanks for testing!

vagrant yew
hazy grail
tacit trail
#

im a noob sorry, but can i put this in my group chat and have my friends talk to the bot? also is there a tutorial on how to set this up

hardy wadi
meager grove
#

this is 👨‍💻fun

vagrant yew
vagrant yew
hardy wadi
vagrant yew
#

❗ OpenAI added some additional Cloudflare protections that are preventing access token refresh.

whatsapp-chatgpt now needs a CLEARANCE_TOKEN in the .env file to work properly.
Check the README file for more information on how to obtain.

Also big thanks to @clever crest & contributors for providing a fast fix.

https://github.com/navopw/whatsapp-chatgpt

rose mist
#

@urban pulsar

whole dove
hardy wadi
# whole dove bot number?

The bot has no number instead you scan your qrcode generated by the bot and when you scan it through your phone ,,,now your number is now connected with the bot, so basically if someone texts you...the bot can answer on behalf of you! hope i helped

whole dove
#

++++++++++++++-

celest walrus
raw narwhal
#

@vagrant yew Can you add me so I can message you? Don't know if you're still running Askrella but I'm looking for help with something

dapper sorrel
#

how do you use chatGTP in whatsApp? I thought chatGTP didnt have API access?

vagrant yew
dapper sorrel
#

Oooh interesting, could you point me to them?

split ember
#

How do I acces on mobile phone

dapper sorrel
#

tyvm!

split ember
#

Can I do this on iPhone?

vagrant yew
split ember
#

Is there any YouTube or video tutorial, I’m not very code savvy

vagrant yew
halcyon pivot
#

is there a easy tutorial about how to install chatgpt for whatsapp?

#

I do not understand what this means :

halcyon pivot
#

could u tell me or send me sth so that I can understand how I can use chatgpt for whatsapp?

vagrant yew
tacit trail
#

a video tutorial would be hugely helpful

vagrant yew
whole dove
#

Or theres full description of that project

vagrant yew
#

❗ Important Note❗

You should not be using this account while the bot is using it, because that browser window may refresh one of your tokens and invalidate the bot's session.

full hollow
#

Very interesting! being simple allowed me to understand it , love it

real junco
#

Nice project

tacit sonnet
#

after scanning the code, where do you go to chat? @vagrant yew

prisma yarrow
#

does it work if i have account with google auth

plush blaze
#

im getting this message after login: [Whatsapp ChatGPT] Failed to authenticate with the ChatGPT API: ChatGPT failed to refresh auth token. Error: 403 Forbidden

#

it shows the gpt chat then close the browser.

lost lion
#

didnt work for me, is this work on windows ?

fervent snow
#

How to do it on mobile ?

rose mist
#

An error occured, please contact the administrator. (ChatGPTAPI error 429)

#

Don't know only the first message gets a response, the rest get thrown an error.

vagrant yew
sacred spindle
#

how i can use it pleas

#

@vagrant yew

keen glade
#

Hello @vagrant yew im always receiving: An error occured, please contact the administrator. (ChatGPTAPI error 429) what is the issue=

tacit sonnet
#

i got the QR code scanned, but im not sure how to activate the chat? how do i open the chat?

plush blaze
tacit sonnet
#

But the chat won't appear

#

Rip idk

plush blaze
#

chat wont appear. if someone write you !gpt something.. it will send the response

#

but after the first message u will get error 429 xD we are waiting for Navo to update

keen glade
#

@vagrant yew any updated because of the error 429?

vagrant yew
plush blaze
sacred spindle
#

i have a problem in downloding vite-nod

#

any help

#

what i have to do

echo aspen
sacred spindle
#

@Anarkopin#0175 i asked and still telling me check conection

somber girder
vivid shard
#

Am I able to use the bot in groupchats?

tacit sonnet
#

im still confused on how to use this bot

#

where do we write "!gpt..."

plush blaze
#

You dont, people who writte you

tacit sonnet
#

to me?

plush blaze
#

Yes

tacit sonnet
#

so i get a friend to send me a message?

#

any friend?

plush blaze
#

Correct

tacit sonnet
#

aaaah ok

#

wait

plush blaze
#

But after second message it will give you an error (429). We are waiting for an update.

tacit sonnet
#

oh

#

rip

#

hope its soon

hexed ginkgo
lethal obsidian
#

followed the steps in readme file and the qr code is scanned
but the command isn't working

#

any idea what am i missing

plush blaze
#

Did you saw the message in the console?

lethal obsidian
#

yes it says the client is ready to use

#

got this

An error occured, please contact the administrator. (ChatGPTAPI error 403)

plush blaze
#

@lethal obsidian open ur DMs

lethal obsidian
#

open now

vagrant yew
#

Hello everyone, I fixed the bot and It now works again.

vagrant yew
vagrant yew
vagrant yew
lethal obsidian
vagrant yew
lethal obsidian
#

but a new catch
the browser window which opens for user authentication has to stay open, otherwise the prompt wont work
have to re-authenticate

vagrant yew
#

👍

lethal obsidian
#

I got an error when visiting chat.openai.com/auth/login.

Error code: 1020
Ray ID: 7877a5a73b0bf3ad
Country: IN
Data center: bom08
IP: 13.233.85.17
Timestamp: 2023-01-10 18:58:57 UTC

how do i resolve this

compact hollow
#

hi

#

a little exposition about this

rough arrow
#

@vagrant yew can you help me? I installed it, scanned the qr. Asked a friend to send !gpt 'some question' to me. And nothing happened.

Do you know why and how to fix?

Could it be because of the overloaded servers?

Is there some terminal I can see the logs/errors

tacit sonnet
#

You can create the error logs.

lethal obsidian
lethal obsidian
rough arrow
#

But it was running, like I scanned the QR and all

charred juniper
#

@vagrant yew now it's showing invalid email

rough arrow
#

Are there any things I should have done, that are not included in the instructions. That could be the reason everything seemed to work up until after connecting whatsapp (no respons from !gpt)

I followed it quite strictly but Im not someone with much experience in regards to coding etc

lethal obsidian
#

once it says client is ready
your friend will send a message and even that should be picked up in the terminal

rough arrow
#

Wait, sidequestion. How does this work in regards to security privacy and does it use my cost openai API (in a way that costs money)

rough arrow
willow scroll
#

everything is done and client is running but where to talk???

radiant dragon
#

hi

vagrant yew
vagrant yew
vagrant yew
clever crest
#

@vagrant yew feel free to add this to the readme of the chatgpt-api repo 🙂 make sure to mention DALL-E

#

this is really awesome

#

going to share w/ some folks

vagrant yew
#

I already added it 😄

It's the only really good working whatsapp bot 😛

#

WhatsApp Bot #3 is our project 😄

WhatsApp Bot #1 doesnt work (old)

#

@clever crest Check this out, Work In Progress:

#

OpenAI Whisper 🙂

clever crest
#

amazing

#

are you using a hosted whisper API?

#

i didn't see your project since the repo URL had changede

#

just updated it to be WhatsApp Bot #1 and added a desc to call out DALL-E

#

i'd rather send traffic to higher quality projects 🔥

vagrant yew
#

It's not on master branch yet

vagrant yew
vagrant yew
#

Will release whisper today 🙂

#

Maybe on hosted instance, let's see.

tacit sonnet
vagrant yew
#

We will also add Text-To-Speech, so the AI answers you with voice messages!

Everything will be configurable.

All work in progress 🙂

tacit sonnet
#

will you be able to make it so that we have the option to choose between hosting locally and from you??

vagrant yew
tacit sonnet
#

ahh i see, that makes sense

#

thank you!

#

ive been trying to use ChatGPT to do this

#

but as im not a novice programmer

#

i failed and partially gave up xD

vagrant yew
#

ChatGPT can not generate voice messages I guess 😄

tacit sonnet
#

no i mean, make the code

vagrant yew
#

Ah okay 😄

tacit sonnet
#

yes

#

youre doing a great job

vagrant yew
#

Thanks!

#

You can also join our discord, its linked in the whatsapp-chatgpt project.

We post work in progress sneak peaks and dicuss stuff with the community there!

tacit sonnet
#

can we suggest something

#

which i accomplished

#

using chatgpt

#

but ran into bugs and couldnt backtrack xD

#

add a queue system so that the messages do not overwhelm chatgpt

#

i noticed this caused the program to close itself if multiple users send a message at once

#

so i put in a queue that only sent a message to chatgpt once the previous message has been fully processed

#

sorry if it feels im telling you what to do, ofc all of this is up to you. so im just giving ideas

#

i also added in the option for reactions to each message

#

to show the user the processing stages of their message

#

a thumbs up reaction to their message means its in the list and being processed

#

a heart emote reaction means its been processed and is on the way to be delivered to the user

#

again these are just suggestions

#

its all up to you

vagrant yew
vagrant yew
#

Great news from our side!

We just released the voice message feature. Talk to the bot! 🤖 🚀

Get the latest version:
https://github.com/askrella/whatsapp-chatgpt

Documentation:
https://askrella.github.io/whatsapp-chatgpt/#/

Transcription = The bot will understand your voice messages
Text-To-Speech (TTS) = The bot will answer with voice messages

It's quite experimental. So if errors occur please create a Github Issue:
https://github.com/askrella/whatsapp-chatgpt/issues

Thanks everyone ❤️

vagrant yew
glacial ginkgo
#

are you able to attach local photos and send them on the chat to ask chatgpt a question?

vagrant yew