xNul / chat-llama-discord-bot

A Discord Bot for chatting with LLaMA, Vicuna, Alpaca, MPT, or any other Large Language Model (LLM) supported by text-generation-webui or llama.cpp.
https://discord.gg/TcRGDV754Y
MIT License
118 stars 23 forks source link

Trying to make the bot work with the extension EdgeGPT but it seems to ignore the extension #16

Open juangea opened 1 year ago

juangea commented 1 year ago

Hi there.

I enable the extension in the webui.py in the main command:

run_cmd("python bot.py --chat --no-stream --extensions EdgeGPT")

But the extension seems to be ignored, by default it reacts to the command "Hey Bing" and whatever text you want, but when I try it from the Discord it completely ignores it.

Is there a way to make it work? it is very useful TBH :)

Thanks!

MuXodious commented 1 year ago

I was able to get extensions load with some modifications to Merc's version, but EdgeGPT would threw in an error and just won't work. I haven't looked in to it in a while though.

xNul commented 1 year ago

I've just released a major update which brings the bot back up to date with webui. Let me know if you still have this issue.

MuXodious commented 1 year ago

@xNul Hey! Thank you for your work. Extensions appears to be working correctly. I couldn't test EdgeGPT, for some reason it won't work for me even on Ooba's webui. Things like 'google_translate' loads and works. Not all extensions are compatible with the bot.

xNul commented 1 year ago

Gotcha! Let me know when EdgeGPT starts working for you in webui and we can revisit this

MuXodious commented 1 year ago

Okay! I managed to get it to work. EdgeGPT does work with the bot, but only when no model is loaded (?). I don't see anything weird on the terminal as well.

Screenshot-2

Screenshot-3