Giter VIP home page Giter VIP logo

oobaboogas-webui-langchain_agent's Introduction

oobaboogas-webui-langchain_agent

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) Screenshot 2023-05-29 11 50 41 PM Screenshot 2023-05-29 11 49 56 PM

Install with pip install -r requirements.txt

Installation

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 ../..

Usage

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

image

Tested with TheBloke_airoboros-13B-GPTQ

RoadMap

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!

oobaboogas-webui-langchain_agent's People

Contributors

chobpt avatar mikeyang01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.