Get Access to the FREE ChatGPT API with Python

preview_player
Показать описание
Learn how to start implementing ChatGPT in your Python code. In this video, I explain all the steps to set up a reversed engineered ChatGPT API (revChatGPT), and use it in terminal or in Python code.

Resources:

Who Am I?
Hi there! If you’re new to the channel, my name is Mehran Shakarami. I got my PhD in Applied Math, and in this channel I share videos about AI and Math.

Content:
00:00 - What is this API?
00:37 - Session token and requirements
03:09 - ChatGPT in terminal
05:54 - ChatGPT in Python code
Рекомендации по теме
Комментарии
Автор

I just double checked, and the steps in the video should work fine (just make sure to install revChatGPT==1.2.1).
Also, the developer has updated the package to ver 2.2.7. If you want to use that one, use the command "python -m revChatGPT.V1" in terminal.

aispectrum
Автор

I'm using 1.2.1 followed the steps exactly. I have the right chrome. But I get stuck after finding cloud flare cookie. Then it keeps spawning browser getting stuck after finding cloudflare cookie and repeating this

lllmink
Автор

may have to use the latest version of revChatGPT (revChatGPT 6.7.3 released Jun 30, 2023),
following the last line documentation example, this works for me, thanks you

dhinorahmad
Автор

Can you trust putting your password and email in it?

robo
Автор

how can i get that env folder when i create a new project directory?

chetanreddy
Автор

How can I open the browser and make a new session cookie if the cookie isn't correct?
Sorry, I'm new to Python and AI.

voidbyteyt
Автор

I am stuck on "failed to refresh session", please help!

phamanhtuan-a
Автор

Does it work now? I found that a session token changes once in a couple of minutes. My browser is not just pops up and closes. It makes me log in, then after a successful login it's still in place and in terminal I have eternal: Spawning browser...
Browser spawned.

pypypy
Автор

I was trying to build the exact same thing lately. The code did well for some sessions but failed miserably. Didn't know already a library exists lol

mryasinize
Автор

How to create a new chat using this library?

sneky_live
Автор

A bad point is that If the token expires, you have to update your code.

Ray-Zah
Автор

I have to use this project to run in backend. it must happen without opening and closing of the browser, how do I solve that issue

namanuriti
Автор

Does this method need to pay real payment?

Ddjfhfjfj
Автор

hi there, I run the the process but get stuck on "Found Cloudflare Cookie" without close the Chrome, and also cannot type any input on Terminal. Could you help me with this problem?

石英伦
Автор

there is no unofficial file inside the folder :(

lamourpaspourmoi
Автор

I followed the process as you've mentioned. But, I have added these two lines


When I run it via Terminal or ipynb, it is stuck at "Found Session Token!", the browser is not closing, and not moving to the next stage.
Is there anything I'm doing wrong ?

suriyaprakashjambunathan
Автор

Hi I dont see Unofficial.py file in the revChatGPT. Is this working for anyone?

KushwanthK
Автор

It can be done much easier without having to start a browser instance... i have made a video showcasing how.

statitik