Closed Erol444 closed 1 year ago
@IntelligenzaArtificiale I also have a question - could I create a python library with your driver (so files within pyChatGPT.py
and ChatGPTAPI.py
), and add credit to you? I believe it would be very useful as a standalone library.
Wow crazy. This addition of yours is very powerful! let's do some more tests tonight and approve your pull.
Thank you friend you are contributing to the development of something great🤗🚀
Your idea of creating a dedicated library is great and would probably help solve installation problems👨💻
As for the credits, don't worry, you can also take them, as long as you quote us 👨💻🚀🤗
We've seen your edit and it's great🤯. You put a try so that if a user doesn't have access to chatgpt plus it doesn't go into error. Good choose.
We will accept the pull request tonight. Then we will make some small changes, adding the possibility of instantiating the api with ChatGpt Plus or Free, even for those who have chatGpt plus.
for example after your pull request we can now implement this
from FreeLLM import ChatGPTAPI
# Instantiate a ChatGPT object with your token
llm = ChatGPTAPI.ChatGPT((token="YOURTOKEN", model="GPT4") #for start new chat
# Generate a response based on the given prompt
response = llm("Hello, how are you?")
# Print the response
print(response)
Hi @IntelligenzaArtificiale , Sounds great, and thanks! And I agree, in some cases you wouldn't want to waste your 25 chats/3h of the GPT4 model, so it would be better to let the user specify, perhaps defaulting to gpt4 if user has Plus account. Thoughts?
Exactly. Tomorrow morning we approve the pull request and make the changes. Heartfelt thanks again :)
Sounds great:) And for anyone interested in the standalone package, repo here: https://github.com/Erol444/gpt4-openai-api
Great job, but in our opinion there are still several changes to be made. At the moment we have made several small updates to the code.
Now you can choose the model even if you are a PLUS member.
#llm = ChatGPT(token = "YOUR-COOKIE" , model="gpt4") # REQUIRED CHATGPT PLUS subscription
One Question, for Paid gpt4 Users, is model="gpt4" correct? With model="gpt4" I got the message that I don't have a paid account. Then I changed it to model="gpt-4" then I got a response from Chatgpt and I saw the prompts in my account
Selenium will now try to select GPT4 inside ChatGPT if it's available. Video of the browser below (I disabled headless to record this):