Open-WebUI-Functions

Open-WebUI-Functions is a collection of custom pipelines, filters, and integrations designed to enhance Open WebUI. These functions enable seamless interactions

What is Open-WebUI-Functions?

Open-WebUI-Functions is a collection of custom pipelines, filters, and integrations designed to enhance Open WebUI. These functions enable seamless interactions with Azure AI, N8N, Google Gemini and other AI models, providing dynamic request handling, preprocessing, and automation.

Overview of Open-WebUI-Functions

What it is

Open-WebUI-Functions is a collection of Python-based functions that extend Open WebUI with additional pipelines, filters, and integrations. These functions enable connections to external AI providers, data processing, and customization of the Open WebUI experience.

Key features

  • Custom pipelines: Extend Open WebUI with AI processing pipelines, including model inference and data transformations.
  • Filters for data processing: Apply custom filtering logic to refine, manipulate, or preprocess input and output data.
  • Azure AI support: Connect Open WebUI with Azure OpenAI and other Azure AI models.
  • N8N workflow integration: Enable interactions with N8N for automation.
  • Flexible configuration: Use environment variables to adjust function settings dynamically.
  • Streaming and non-streaming support: Handle both real-time and batch processing efficiently.
  • Secure API key management: Automatically encrypt sensitive information such as API keys.

Use cases

Connecting Open WebUI to external AI providers like Azure AI and Google Gemini. Automating workflows with N8N. Preprocessing and filtering data before or after model inference. Customizing the behavior of Open WebUI for specific real-world workflows.

Getting started

Prerequisites: an active Open WebUI instance, required AI services (if applicable), admin access in Open WebUI, and necessary Python packages (some functions list extra packages in their header; Open WebUI installs them automatically unless disabled).Installation steps:1. Ensure admin access in Open WebUI.2. Navigate to Admin Settings > Functions.3. Click Add New Function, copy the function code from this repository, and paste it into the editor.4. Set required environment variables (e.g., API keys, WEBUI_SECRET_KEY for encryption).5. Save and activate the function.To enable encryption, set the WEBUI_SECRET_KEY environment variable:bashWEBUI_SECRET_KEY='your-secure-random-string'

License and pricing

License: Apache-2.0. Pricing: open source (free).

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/owndevopen-webui-functions.svg)](https://yunodb.com/tools/owndevopen-webui-functions?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/owndevopen-webui-functions?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/owndevopen-webui-functions.svg" alt="Featured on YunoDB" height="20"></a>