Open-WebUI-Functions  by owndev

AI pipelines and integrations for Open WebUI

Created 11 months ago
284 stars

Top 92.1% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Open-WebUI-Functions provides a suite of custom Python pipelines, filters, and integrations to significantly enhance Open WebUI. It enables seamless interaction with various AI models like Azure AI and Google Gemini, and automation platforms such as N8N, offering dynamic request handling, data preprocessing, and workflow automation for advanced users.

How It Works

This project injects custom Python functions into Open WebUI via its admin interface, acting as extensions for AI processing and data manipulation. Core features include configurable pipelines for model inference and data transformations, filters for preprocessing/postprocessing, and direct integrations with services like Azure OpenAI (with RAG), N8N, and Google Gemini. It supports both streaming and non-streaming responses and includes automatic API key encryption when a secret key is configured.

Quick Start & Requirements

Highlighted Details

  • Azure AI: Seamless integration with Azure OpenAI, supporting Azure Search for RAG, multiple models, and customizable prefixes.
  • N8N Automation: Connects Open WebUI to N8N workflows, featuring an AI Agent tool usage display (non-streaming only).
  • Google Gemini: Advanced image processing with configurable quality/resizing, grounding via Google Search, and native tool calling.
  • Security: Automatic, transparent encryption of API keys and sensitive data via WEBUI_SECRET_KEY.
  • Monitoring: Time Token Tracker measures AI response times and token usage, with optional Azure Log Analytics integration.

Maintenance & Community

Maintained by owndev. No specific community channels or contributor details are listed in the provided README.

Licensing & Compatibility

Licensed under the Apache License 2.0, permitting broad commercial use and integration without significant copyleft restrictions.

Limitations & Caveats

The N8N pipeline's AI Agent tool usage display is restricted to non-streaming mode. Token counting accuracy is limited to OpenAI models via the tiktoken library.

Health Check
Last Commit

6 days ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
4
Star History
27 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.