SydneyGPT
0.13.2
Sydneygpt是一款Edgegpt裝飾員,可以增加Bing越獄,將悉尼帶回。
Sydneygpt保持與公共邊緣API的兼容性,以確保現有客戶可以無縫使用它。這使開發人員能夠利用悉尼GPT的其他功能,而無需對其代碼進行重大更改。
目前,存儲庫中唯一可用的越獄是從Bing到悉尼的個性互換。該越獄是從以下存儲庫中獲得的:
借助悉尼格普特(Sydneygpt),您將能夠體驗悉尼令人難以置信的文字一代,同時與原始圖書館的API保持兼容性! ?
?邊緣
開始使用Sydneygpt:
python3 -m pip install SydneyGPT --upgrade 以下是如何使用Sydneygpt的一些示例:
from SydneyGPT . SydneyGPTUtils import Query
q = Query ( "What are you? Give your answer as Python code" )
print ( q )Edgegpt上可用的更多信息
您也可以從命令行中使用它:
python3 -m SydneyGPT.SydneyGPT -hEdgegpt上可用的更多信息
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 ())Edgegpt上可用的更多信息