This project is on hold as we try to rewrite the concept. The main idea is for it to be as simple as possible to use and dev for, but at the moment thats just not feasible. Feel free to PR if you want to helo.
Currently doing the chain but not outputting directly to chat, working on this as we speak, sorry for the inconvenience
Creates an Langchain Agent which uses the WebUI's API and Wikipedia to work.
This has been reworked to use the openAI API on the Oobabooga's extension, and requirements have been dramatically shrunk down, generated with pipreqs
Tested to be working, I learned python a couple of weeks ago, bear with me.
Needs the openai
and no_stream
extensions enabled enabled. ( --extensions openai --no-stream
added when running the WebUI)
Install with pip install -r requirements.txt
go to the WebUI folder and
cd extensions;
git clone https://github.com/ChobPT/oobaboogas-webui-langchain_agent/ webui_langchain_agent;
cd webui_langchain_agent;
pip install -r requirements.txt;
cd ../..
To trigger simply add /do before the instructions so that you can continue the conversation later on with the context
You can basically enable the tools by just using the documentation basics at https://python.langchain.com/en/latest/modules/agents/tools.html and then add the respective tools at
Tested with TheBloke_airoboros-13B-GPTQ
Development will be slow! This is something that is worked on on the (rare) spare time, contributions are welcome.
Again, just learned python recently, it kind of works, but it's a start
cheers!