mirror of
https://github.com/open-webui/docs
synced 2025-05-19 18:58:41 +00:00
New docs for tools, functions and actions
This commit is contained in:
parent
e23e823d7a
commit
b15115cae1
13
docs/pipelines/actions.md
Normal file
13
docs/pipelines/actions.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
sidebar_position: 6
|
||||
title: "Actions"
|
||||
---
|
||||
|
||||
# Actions
|
||||
Action functions allow you to write custom buttons to the message toolbar for end users to interact with. This feature enables more interactive messaging, enabling users to grant permission before a task is performed, generate visualizations of structured data, download an audio snippet of chats, and many other use cases. An example of a graph vizualization Action can be seen in the video below.
|
||||
|
||||
<p align="center">
|
||||
<a href="#">
|
||||
<img src="/img/pipelines/graph-viz-action.gif" alt="Graph Visualization Action" />
|
||||
</a>
|
||||
</p>
|
10
docs/pipelines/faq.md
Normal file
10
docs/pipelines/faq.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
sidebar_position: 7
|
||||
title: "FAQ"
|
||||
---
|
||||
|
||||
# FAQ
|
||||
**What's the difference between Functions and Pipelines?**
|
||||
|
||||
The main difference between Functions and Pipelines are that Functions are executed directly on the Open WebUI server, while Pipelines are executed on a separate server. Functions are not capable of downloading new packages in Open WebUI, meaning that you are only able to import libraries into Functions that are packaged into Open WebUI. Pipelines, on the other hand, are more extensible, enabling you to install any Python dependencies your filter or pipe could need. Pipelines also execute on a separate server, potentially reducing the load on your Open WebUI instance.
|
||||
|
@ -4,7 +4,7 @@ title: "Filters"
|
||||
---
|
||||
|
||||
# Filters
|
||||
Filters are used to perform actions against incoming user messages and outgoing assistant (LLM) messages. Potential actions that can be taken in a filter include sending messages to monitoring platforms (such as Langfuse or DataDog), modifying message contents, blocking toxic messages, translating messages to another language, or rate limiting messages from certain users. A list of examples is maintained in the [Pipelines repo](https://github.com/open-webui/pipelines/tree/main/examples/filters). The general workflow can be seen in the image below.
|
||||
Filters are used to perform actions against incoming user messages and outgoing assistant (LLM) messages. Potential actions that can be taken in a filter include sending messages to monitoring platforms (such as Langfuse or DataDog), modifying message contents, blocking toxic messages, translating messages to another language, or rate limiting messages from certain users. A list of examples is maintained in the [Pipelines repo](https://github.com/open-webui/pipelines/tree/main/examples/filters). Filters can be executed as a Function or on a Pipelines server. The general workflow can be seen in the image below.
|
||||
|
||||
<p align="center">
|
||||
<a href="#">
|
||||
|
17
docs/pipelines/functions.md
Normal file
17
docs/pipelines/functions.md
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
title: "Functions"
|
||||
---
|
||||
|
||||
# Functions
|
||||
Functions enable you to utilize filters (middleware) and pipe (model) functions directly within the WebUI. While largely compatible with Pipelines, these native functions can be executed easily within Open WebUI. Example use cases for filter functions include usage monitoring, real-time translation, moderation, and automemory. For pipe functions, the scope ranges from Cohere and Anthropic integration directly within Open WebUI, enabling "Valves" for per-user OpenAI API key usage, and much more.
|
||||
|
||||
Many Functions are available to use on the [Community Website](https://openwebui.com/functions) and can easily be imported into your Open WebUI instance.
|
||||
|
||||
<p align="center">
|
||||
<a href="#">
|
||||
<img src="/img/pipelines/community-functions.png" alt="Community Functions" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
While many Pipes and Filters that run on a Pipelines server can be executed as Functions, the main limitation is that Functions are unable to install new Python dependencies that are not already packaged into Open WebUI. As a result, Pipelines are more extensible than Functions, while Functions have the added benefit of executing directly on the Open WebUI server without needing a separate Pipelines server for execution.
|
@ -4,10 +4,18 @@ title: "Pipes"
|
||||
---
|
||||
|
||||
# Pipes
|
||||
Pipes are functions that can be used to perform actions prior to returning LLM messages to the user. Examples of potential actions you can take with Pipes are Retrieval Augmented Generation (RAG), sending requests to non-OpenAI LLM providers (such as Anthropic, Azure OpenAI, or Google), or executing functions right in your web UI. A list of examples is maintained in the [Pipelines repo](https://github.com/open-webui/pipelines/tree/main/examples/pipelines).
|
||||
Pipes are functions that can be used to perform actions prior to returning LLM messages to the user. Examples of potential actions you can take with Pipes are Retrieval Augmented Generation (RAG), sending requests to non-OpenAI LLM providers (such as Anthropic, Azure OpenAI, or Google), or executing functions right in your web UI. Pipes can be hosted as a Function or on a Pipelines server. A list of examples is maintained in the [Pipelines repo](https://github.com/open-webui/pipelines/tree/main/examples/pipelines). The general workflow can be seen in the image below.
|
||||
|
||||
<p align="center">
|
||||
<a href="#">
|
||||
<img src="/img/pipelines/pipes.png" alt="Pipe Workflow" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Pipes that are defined in your WebUI show up as a new model with an "External" designation attached to them. An example of two Pipe models, `Database RAG Pipeline` and `DOOM`, can be seen below next to two self-hosted models:
|
||||
|
||||
<p align="center">
|
||||
<a href="#">
|
||||
<img src="/img/pipelines/pipe-model-example.png" alt="Pipe Models in WebUI" />
|
||||
</a>
|
||||
</p>
|
||||
|
9
docs/pipelines/tools.md
Normal file
9
docs/pipelines/tools.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
title: "Tools"
|
||||
---
|
||||
|
||||
# Tools
|
||||
Tools enable many use cases for chats, including web search, web scraping, and API interactions within the chat.
|
||||
|
||||
Many Tools are available to use on the [Community Website](https://openwebui.com/tools) and can easily be imported into your Open WebUI instance.
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
sidebar_position: 7
|
||||
title: "Tutorials"
|
||||
---
|
||||
|
||||
|
BIN
static/img/pipelines/community-functions.png
Normal file
BIN
static/img/pipelines/community-functions.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 266 KiB |
BIN
static/img/pipelines/graph-viz-action.gif
Normal file
BIN
static/img/pipelines/graph-viz-action.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
BIN
static/img/pipelines/pipe-model-example.png
Normal file
BIN
static/img/pipelines/pipe-model-example.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue
Block a user