gpt3.5
GPT-3.5 is a version of the language model developed by OpenAI. It is the successor to GPT-3 and the predecessor of GPT-4. GPT-3.5 represents a significant improvement over previous versions in several aspects.
Example
from freeGPTFix import Client
resp = Client.create_completion("gpt3_5", "Your text")
print(resp)GPT3.5
def create(self, prompt):
try:
res = proxy.post("https://chatgpt5free.com/wp-json/mwai-ui/v1/chats/submit",
headers=self.ROOM_HEADERS,
json={
"botId":"default",
"customId":None,
"session":"N/A",
"chatId":str(uuid4()),
"newMessage":prompt,
"newFileId":None,
"stream":False})
return res.json()
except RequestException as exc:
raise RequestException("Unable to fetch the response.") from excLast updated