EdgeGPT
EdgeGPT copied to clipboard
Reverse engineered API of Microsoft's Bing Chat AI
when I run the code given as example, it hints "Authentication failed" File "/usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/Users/annlee/PycharmProjects/chatgpt.py",...
``` C:\Users\Harry>python -m EdgeGPT --bing-cookie EdgeGPT - A demo of reverse engineering the Bing GPT chatbot Repo: github.com/acheong08/EdgeGPT By: Antonio Cheong !help for help Type !exit to exit Enter twice...
A parameter `cookiePath` is added, so the code is more clear and easy to maintain when using `EdgeGPT.Chatbot`.
This is not an issue… more of a public service announcement on how to get access quickly and not be on the waitlist Steps to get off waitlist (this worked...
Initializing... Traceback (most recent call last): File "C:\Users\ibrahim.l\Desktop\MicroEdgeGPT.py", line 61, in asyncio.run(main()) File "C:\Users\ibrahim.l\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\ibrahim.l\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\ibrahim.l\Desktop\MicroEdgeGPT.py",...
for cookie in cookie_file: self.session.cookies.set(cookie["name"], cookie["value"]) # url = "https://www.bing.com/turing/conversation/create" url="https://cn.bing.com/turing/conversation/create" # Send GET request response = self.session.get( url, timeout_seconds=30, headers=headers, ) Get the url https://www.bing.com/turing/conversation/create will get a 302...
When i tried to use it in my bot by fastapi, it didn't return right response.But the sample code can work as a single file.The following is the invalid response....