Skip to main content

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

  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SydneyGPT-0.10.16.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SydneyGPT-0.10.16-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file SydneyGPT-0.10.16.tar.gz.

File metadata

  • Download URL: SydneyGPT-0.10.16.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for SydneyGPT-0.10.16.tar.gz
Algorithm Hash digest
SHA256 2e943486a1f2c50487b1edaa62b950d98d97af31aed22646d7285e7a2602ebb0
MD5 f4ef80b8a2c33bf468132ce9e191deb2
BLAKE2b-256 6d071bdecb3355352d567879a0fa184c122a26c01df0801b17ae5c46fed1aebb

See more details on using hashes here.

File details

Details for the file SydneyGPT-0.10.16-py3-none-any.whl.

File metadata

  • Download URL: SydneyGPT-0.10.16-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for SydneyGPT-0.10.16-py3-none-any.whl
Algorithm Hash digest
SHA256 c8ee34d16f0db1c8e4f7124eb641d6819e418e050e048dcb4eaf15b98d08a4d5
MD5 be6c2292b5da835c5a3b13fcb1dd0f21
BLAKE2b-256 d44c1e49e3cb93905f733fcfc40d5c4939e992932a8d48c0c98d489b0aca3c00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page