gpt_academic icon indicating copy to clipboard operation
gpt_academic copied to clipboard

能否考虑增加对chatgpt网页的逆向API?

Open schrojunzhang opened this issue 3 years ago • 1 comments

可以通过这个仓库 https://github.com/acheong08/ChatGPT python -m pip install --upgrade revChatGPT

使用方法

from revChatGPT.V1 import Chatbot

chatbot = Chatbot(config={ "access_token": "" })

print("Chatbot: ") prev_text = "" for data in chatbot.ask( "Hello world", ): message = data["message"][len(prev_text) :] print(message, end="", flush=True) prev_text = data["message"] print()

这样可以避免API费用不足

schrojunzhang avatar Apr 25 '23 07:04 schrojunzhang

同求😭

ShaySheng avatar Apr 28 '23 08:04 ShaySheng

暂无此计划

binary-husky avatar May 02 '23 09:05 binary-husky