Skip to content

Commit c42d2b8

Browse files
authored
Update Readme
1 parent 9648c7e commit c42d2b8

1 file changed

Lines changed: 29 additions & 7 deletions

File tree

README.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727

2828
## Prerequisites 🔗
2929

30-
To use these functions, ensure the following:
30+
> [!WARNING]
31+
> To use these functions, ensure the following requirements are met:
3132
3233
1. **An Active Open WebUI Instance**: You must have [Open WebUI](https://github.com/open-webui/open-webui) installed and running.
3334

@@ -40,7 +41,9 @@ To use these functions, ensure the following:
4041
To install and configure functions in Open WebUI, follow these steps:
4142

4243
1. **Ensure Admin Access**:
43-
- You must be an admin in Open WebUI to install functions.
44+
45+
> [!NOTE]
46+
> You must be an admin in Open WebUI to install functions.
4447
4548
2. **Access Admin Settings**:
4649
- Navigate to the **Admin Settings** section in Open WebUI.
@@ -54,7 +57,9 @@ To install and configure functions in Open WebUI, follow these steps:
5457

5558
5. **Set Environment Variables (if required)**:
5659
- Some functions require API keys or specific configurations via environment variables.
57-
- Set [WEBUI_SECRET_KEY](https://docs.openwebui.com/getting-started/env-configuration/#webui_secret_key) for secure encryption of sensitive API keys.
60+
61+
> [!IMPORTANT]
62+
> Set [WEBUI_SECRET_KEY](https://docs.openwebui.com/getting-started/env-configuration/#webui_secret_key) for secure encryption of sensitive API keys. This is **required** for the encryption features to work properly.
5863
5964
6. **Save and Activate**:
6065
- Save the function, and it will be available for use within Open WebUI.
@@ -72,18 +77,29 @@ The functions include a built-in encryption mechanism for sensitive information:
7277

7378
**To enable encryption:**
7479

75-
```bash
76-
# Set this in your Open WebUI environment or .env file
77-
WEBUI_SECRET_KEY="your-secure-random-string"
78-
```
80+
> [!CAUTION]
81+
> **WEBUI_SECRET_KEY is required for encryption to work!**
82+
>
83+
> ```bash
84+
> # Set this in your Open WebUI environment or .env file
85+
> WEBUI_SECRET_KEY="your-secure-random-string"
86+
> ```
87+
>
88+
> Without this key, API keys and sensitive data will **not** be encrypted.
7989
8090
## Pipelines 🧩
8191
8292
Pipelines are processing functions that extend Open WebUI with **custom AI models**, **external integrations**, and **data manipulation logic**.
8393
8494
### **1. [Azure AI Foundry Pipeline](./pipelines/azure/azure_ai_foundry.py)**
8595
96+
> [!TIP]
97+
> **Azure OpenAI Integration Made Easy**
98+
>
99+
> This pipeline provides seamless integration with Azure OpenAI and other Azure AI models with advanced features like Azure Search integration and multiple model support.
100+
86101
- Enables interaction with **Azure OpenAI** and other **Azure AI** models.
102+
- Supports Azure Search integration for enhanced document retrieval.
87103
- Supports multiple Azure AI models selection via the `AZURE_AI_MODEL` environment variable (e.g. `gpt-4o;gpt-4o-mini`).
88104
- Filters valid parameters to ensure clean requests.
89105
- Handles both streaming and non-streaming responses.
@@ -98,6 +114,7 @@ Pipelines are processing functions that extend Open WebUI with **custom AI model
98114
### **2. [N8N Pipeline](./pipelines/n8n/n8n.py)**
99115
100116
- Integrates **Open WebUI** with **N8N**, an automation and workflow platform.
117+
- Streaming support for real-time data processing.
101118
- Sends messages from Open WebUI to an **N8N webhook**.
102119
- Supports real-time message processing with dynamic field handling.
103120
- Enables automation of AI-generated responses within an **N8N workflow**.
@@ -142,6 +159,11 @@ Filters allow for **preprocessing and postprocessing** of data within Open WebUI
142159
143160
### **1. [Time Token Tracker](./filters/time_token_tracker.py)**
144161
162+
> [!NOTE]
163+
> **Performance Monitoring for AI Interactions**
164+
>
165+
> Track response times, token usage, and optionally send analytics to Azure Log Analytics for comprehensive monitoring.
166+
145167
- Measures **response time** and **token usage** for AI interactions.
146168
- Supports tracking of **total token usage** and **per-message token counts**.
147169
- Can calculate token usage for all messages or only a subset.

0 commit comments

Comments
 (0)