Reverse engineered Sydney Bing Chat API
Project description
SydneyGPT 🚀
SydneyGPT is an EdgeGPT decorator that adds the Bing jailbreak to bring Sydney back.
SydneyGPT maintains compatibility with the public EdgeGPT API to ensure that existing clients can use it seamlessly. This allows developers to take advantage of the additional features of SydneyGPT without the need for significant changes to their code.
Currently, the only available jailbreak in the repository is the personality swap from Bing to Sydney. This jailbreak has been obtained from the following repositories:
With SydneyGPT, you'll be able to experience Sydney's incredible text generation while maintaining compatibility with the original library's API! 😄🎉
🔗 EdgeGPT
Requirements:
- python 3.10+
- EdgeGPT Requirements
Setup
To start using SydneyGPT:
python3 -m pip install SydneyGPT --upgrade
Usage Examples
Here are some examples of how to use SydneyGPT:
from SydneyGPT.SydneyGPTUtils import Query
q = Query("What are you? Give your answer as Python code")
print(q)
More information available on EdgeGPT
You can also use it from the command line with:
python3 -m SydneyGPT.SydneyGPT -h
More information available on EdgeGPT
- The Chatbot class and asyncio for finer control Use Async for the best experience, for example:
import asyncio, json
from SydneyGPT.SydneyGPT import Chatbot
async def main():
bot = await Chatbot.create()
response = await bot.ask(prompt="Hello world", conversation_style="creative", simplify_response=True)
print(json.dumps(response, indent=2))
"""
{
"text": str
"author": str
"sources": list[dict]
"sources_text": str
"suggestions": list[str]
"messages_left": int
}
"""
await bot.close()
if __name__ == "__main__":
asyncio.run(main())
More information available on EdgeGPT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file SydneyGPT-0.13.2.tar.gz
.
File metadata
- Download URL: SydneyGPT-0.13.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9609601bd36460fd77c65f01934f313a36d405c04a15193ef340748a6bce5cac |
|
MD5 | 09ee728791af12f7af524670d96f16af |
|
BLAKE2b-256 | 8bdb3e6c586725775dff25b748ae6569e02658c6982f3a7db604889e391201c2 |
File details
Details for the file SydneyGPT-0.13.2-py3-none-any.whl
.
File metadata
- Download URL: SydneyGPT-0.13.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e65936fe8a346842ff3f05efd165a3a9ecd2ea0daeae706a3a01972bf25c0d5 |
|
MD5 | 0690f2bd1d32d9aaedbeaa6b069f5376 |
|
BLAKE2b-256 | a43a67bd5bc1a3e7ab17ae74bddcd8f4bae99bb37b2bb514340e6d6d4edae31c |