Тёмный

Get Access to the FREE ChatGPT API with Python 

AI Spectrum
Подписаться 4,9 тыс.
Просмотров 18 тыс.
50% 1

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:
- revChatGPT: github.com/acheong08/ChatGPT
- Projects made with revChatGPT: github.com/stars/acheong08/li...
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

Опубликовано:

 

16 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@aispectrum
@aispectrum Год назад
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.
@user-uo6mi5oz5r
@user-uo6mi5oz5r Год назад
many thanks! "python -m revChatGPT.V1" work for me
@user-uo6mi5oz5r
@user-uo6mi5oz5r Год назад
hey, I also found openai provide api to use their models, include test-davinci-003, which is different model but can do the same things. Due to test-davinci-003 and chatgpt both base on HFRL to trained and use gpt3.5 as their base model, if I want to build my own chatbot, is test-davinci-003 more reliable?
@dhinorahmad4918
@dhinorahmad4918 11 месяцев назад
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
@lllmink
@lllmink Год назад
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
@chetanreddy6128
@chetanreddy6128 4 месяца назад
how can i get that env folder when i create a new project directory?
@robo3644
@robo3644 Год назад
Can you trust putting your password and email in it?
@im_razvan
@im_razvan Год назад
tysm for this
@mryasinize
@mryasinize 4 месяца назад
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
@Ddjfhfjfj
@Ddjfhfjfj Год назад
Does this method need to pay real payment?
@sneky_live
@sneky_live 11 месяцев назад
How to create a new chat using this library?
@iharisimran
@iharisimran Год назад
JavaScript support?
@voidbyteyt
@voidbyteyt 11 месяцев назад
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
@voidbyteyt 11 месяцев назад
Simply, I just want to be able to replace the session cookie without changing my code.
@pypypy4228
@pypypy4228 Год назад
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.
@drc3713
@drc3713 11 месяцев назад
Same here
@namanuriti
@namanuriti 9 месяцев назад
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
@SS-gt8sy
@SS-gt8sy 2 месяца назад
Did you find something?
@Ray-Zah
@Ray-Zah Год назад
A bad point is that If the token expires, you have to update your code.
@user-uo6mi5oz5r
@user-uo6mi5oz5r Год назад
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?
@aispectrum
@aispectrum Год назад
I suspect that the latest version of revChatGPT is installed in your system. If that's the case, you can try "python -m revChatGPT.V1" in the terminal.
@erolprod
@erolprod Год назад
@@aispectrum then it says, "ImportError: cannot import name 'PromptSession' from 'prompt_toolkit'"
@jana5384
@jana5384 Месяц назад
there is no unofficial file inside the folder :(
@Unknownisoff
@Unknownisoff 21 день назад
yah
@Unknownisoff
@Unknownisoff 21 день назад
hey install the 1.2.1 version it will be there
@suriyaprakashjambunathan5561
I followed the process as you've mentioned. But, I have added these two lines options.add_argument("--user-data-dir=") options.add_argument('--profile-directory=') 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 ?
@user-mm8bw3uv5o
@user-mm8bw3uv5o Год назад
same issue here :(
@SaurabhKumar-qc6og
@SaurabhKumar-qc6og Год назад
It is too slow. Can we optimise it?
@SaurabhKumar-qc6og
@SaurabhKumar-qc6og Год назад
@@AndrieMC Not actually. I have used the api and that's pretty fast. I landed on this video searching for an alternative to the paid api. But this method is working very slow in my machine, I don't know about others.
@SS-gt8sy
@SS-gt8sy 2 месяца назад
​@@SaurabhKumar-qc6ogdid you find anything else thats fast?
@SaurabhKumar-qc6og
@SaurabhKumar-qc6og 2 месяца назад
@@SS-gt8sy I didn't searched more on that as my client sticked on using the openAI paid API
@destinoutdoor
@destinoutdoor 9 месяцев назад
man why u stopped
@faready
@faready 3 месяца назад
check your connection
@user-xz1jh9qv1k
@user-xz1jh9qv1k 4 месяца назад
Hi I dont see Unofficial.py file in the revChatGPT. Is this working for anyone?
@stupideinstein2506
@stupideinstein2506 5 месяцев назад
1:22 Chat GTP :))
@stati5tik
@stati5tik 4 месяца назад
It can be done much easier without having to start a browser instance... i have made a video showcasing how.
@djeguiwague2911
@djeguiwague2911 4 месяца назад
please le lien de votre video ?
@stati5tik
@stati5tik 4 месяца назад
@@djeguiwague2911 its in my channel
Далее
Legendary KNOCKOUT
00:44
Просмотров 1,9 млн
Use OpenAI's API for Free
7:36
Просмотров 10 тыс.
EASIEST way to use Chat-GPT in Python
4:45
Просмотров 12 тыс.
Get UNLIMITED Tweets by Python Without Twitter API
7:13
How To Access OpenAI's GPT-4o For FREE
5:37
Просмотров 18 тыс.
The OpenAI (Python) API | Introduction & Example Code
23:46