Go to file
Timothy J. Baek ee1a4baed9 doc: readme
2024-05-28 15:59:14 -07:00
data feat: llamaindex example 2024-05-21 14:40:52 -07:00
docs/images doc: readme 2024-05-28 15:59:14 -07:00
pipelines feat: valves on_startup & on_shutdown 2024-05-28 15:39:28 -07:00
.gitignore feat: lifecycle 2024-05-21 16:58:12 -07:00
config.py fix 2024-05-21 18:47:46 -07:00
dev.sh init 2024-05-21 14:02:44 -07:00
header.png refac 2024-05-27 17:37:40 -07:00
main.py refac 2024-05-28 15:47:21 -07:00
README.md doc: readme 2024-05-28 15:59:14 -07:00
requirements.txt Create requirements.txt 2024-05-28 10:21:21 -07:00
schemas.py refac 2024-05-28 11:43:40 -07:00
start.bat Added start.bat file for Windows 2024-05-24 16:46:23 -04:00
start.sh init 2024-05-21 14:02:44 -07:00
utils.py refac 2024-05-22 13:33:44 -07:00

Pipelines Logo

Pipelines: UI-Agnostic OpenAI API Plugin Framework

Welcome to Pipelines, Open WebUI initiative that brings modular, customizable workflows to any UI client supporting OpenAI API specs and much more! Dive into a world where you can effortlessly extend functionalities, integrate unique logic, and create dynamic agentic workflows, all with a few lines of code.

🚀 Why Pipelines?

  • Seamless Integration: Compatible with any UI/client that supports OpenAI API specs.
  • Endless Possibilities: Got a specific need? Pipelines make it easy to add your custom logic and functionalities. Integrate any Python library, from AI agents via libraries like CrewAI to API calls for home automation the sky's the limit!
  • Custom Hooks: Build and integrate custom RAG pipelines and more.

🔧 How It Works

Pipelines Workflow

Integrating Pipelines with any OpenAI API-compatible UI client is a breeze. Simply launch your Pipelines instance and set the OpenAI URL on your client to the Pipelines URL. That's it! You're now ready to leverage any Python library, whether you want an agent to manage your home or need a custom pipeline for your enterprise workflow.

📂 Directory Structure and Examples

Everything you need to build and extend Pipelines can be found in the /pipelines directory. This directory is the heart of your Pipelines setup, where you can add new modules, customize existing ones, and manage your workflow integrations.

Integration Examples

To help you get started quickly, we've included a variety of integration examples in the /pipeline/examples directory. These examples demonstrate how to integrate different functionalities and libraries, providing a solid foundation for building your own custom pipelines.

📦 Installation and Setup

To get started with Pipelines, follow these simple steps:

  1. Ensure you have Python 3.11 installed.

  2. Clone the Pipelines repository:

    git clone https://github.com/open-webui/pipelines.git
    cd pipelines
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Start the Pipelines server:

    sh ./start.sh
    

Once the server is running, you can set the OpenAI URL on your client to the Pipelines URL. This allows you to leverage the full capabilities of Pipelines, integrating any Python library and creating custom workflows tailored to your needs.

Happy coding and welcome to the future of customizable AI integrations with Pipelines!

🎉 Work in Progress

Were continuously evolving! We'd love to hear your feedback and understand which hooks and features would best suit your use case. Feel free to reach out and become a part of our Open WebUI community!

Our vision is to push Pipelines to become the ultimate plugin framework for our AI interface, Open WebUI. Imagine Open WebUI as the WordPress of AI interfaces, with Pipelines being its diverse range of plugins. Join us on this exciting journey! 🌍