- Notifications
You must be signed in to change notification settings - Fork0
Sydney decorator of the reverse engineering API EdgeGPT
License
rafaelcalleja/SydneyGPT
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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! 😄🎉
- python 3.10+
- EdgeGPT Requirements
To start using SydneyGPT:
python3 -m pip install SydneyGPT --upgrade
Here are some examples of how to use SydneyGPT:
fromSydneyGPT.SydneyGPTUtilsimportQueryq=Query("What are you? Give your answer as Python code")print(q)
More information available onEdgeGPT
You can also use it from the command line with:
python3 -m SydneyGPT.SydneyGPT -h
More information available onEdgeGPT
- The Chatbot class and asyncio for finer controlUse Async for the best experience, for example:
importasyncio,jsonfromSydneyGPT.SydneyGPTimportChatbotasyncdefmain():bot=awaitChatbot.create()response=awaitbot.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 } """awaitbot.close()if__name__=="__main__":asyncio.run(main())
More information available onEdgeGPT
About
Sydney decorator of the reverse engineering API EdgeGPT