Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.6k stars 698 forks source link

Conversation Signature error #474

Closed Arnost55 closed 3 months ago

Arnost55 commented 8 months ago

Snímek obrazovky (20)

Arnost55 commented 8 months ago

please tell me what should i do

Arnost55 commented 8 months ago

@Zero6992 please help

Bonhovis commented 8 months ago

Not sure how to upvote this issue, but hitting the exact same conversationSignature key error.

Zero6992 commented 7 months ago

This is an issue from EdgeGPT

Zero6992 commented 7 months ago

Due to that repository no longer being maintained, I can only direct you to some forks made by other contributors. To implement the fix, you can locate your Python site-packages directory and replace the files in the src folder of EdgeGPT with the ones from the fork.

https://github.com/brainboost/EdgeGPT

I have just tested this solution and it resolves the issue.

Bonhovis commented 7 months ago

That's amazing, thank you @Zero6992. Bot is now is now responding with Bing chat model in Discord. Really appreciate it 👏

I am however now experiencing the same issue that someone else raised a couple of months ago re: the bot via Bing not providing working links (https://github.com/Zero6992/chatGPT-discord-bot/issues/456). Is there a way to also get this functioning or is this something that's just not do-able?

Arnost55 commented 7 months ago

thank you zero you are a legend

Iryn-e commented 6 months ago

Works for me too! For those who don't quite know how to interpret Zero6992's advice here on where your "Python site-packages directory" is, (I'm new to python so it took me a bit to figure out on my own) refer to here for more information: "https://www.geeksforgeeks.org/get-location-of-python-site-packages-directory/"

Basically, to find where your "EdgeGPT" package is located, (If you don't see it, make sure you've followed the installation step of "pip3 install -r requirements.txt", and see that "EdgeGPT" is in the "requirements.txt" file) then you should do: py -c "import site; print(site.getsitepackages())". After that, you should see the repository of where your packages are located. For me, it was located at "C:\Users\iryne\AppData\Local\Programs\Python\Python311\Lib\site-packages\EdgeGPT".

From there, just install this fork "https://github.com/brainboost/EdgeGPT", from there you can just replace everything in your package folder with the contents of the package's "src" folder. After that, it should work now.

Zero6992 commented 3 months ago

Updated