Replies: 11 comments 36 replies
-
I really like this feature. Can you please add some documentation on how to add tools functions? I added examples/filters/function_calling_filter_pipeline.py but it is added as filters. Can you tell how invoke these functions? |
Beta Was this translation helpful? Give feedback.
-
When I only select "Wikipedia Pipeline", I get nothing. I have to add another model to the chat to get a response and the response does not come from "Wikipedia Pipeline". I was expecting to get the latest entries from wikipedia. Perhaps I am still missing how this is supposed to work? See below. |
Beta Was this translation helpful? Give feedback.
-
I have the file wikipedia_pipeline.py |
Beta Was this translation helpful? Give feedback.
-
Still couple of unanswered questions about function calling filter pipeline:
Many thanks in advance for some clues. |
Beta Was this translation helpful? Give feedback.
-
If you create tools or functions you want to be triggered, you have to create the filter as well. This took me until today to figure out, but your pipe is in the data, the filter is how it gets to where its going and how. Keep building up your tool pipelines or just tools, and make sure you have the python function filter up and accurate, it should just trigger whenever you say the right thing. also, dont forget every tool you make needs to have a call, so once you get that locked in it should be smooth... i just had my model message me on icloud via tools. There's a LOT of potential with this |
Beta Was this translation helpful? Give feedback.
-
I installed the https://github.com/open-webui/pipelines/blob/main/examples/filters/function_calling_filter_pipeline.py However, I can never get the weather part work. I tested my access to openweathermap, and it worked fine: |
Beta Was this translation helpful? Give feedback.
-
I cannot wait until more documentation and examples come out!!! Right now I'm thinking I need a filter to track user token usage. When the user has used all their allotted tokens I need the AI model to respond with a payment request LNURL. I made my own webui scratch to do this, but now that Open WebUI includes this AWESOME custom extension ability I'm going to pivot towards this. This could be THE feature I've been looking for in the ecosystem to build this out. Self-hosted, micropayment-enabled, custom LangGraph AI constructs for the rest of us... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Trying to run https://github.com/open-webui/pipelines/blob/main/examples/filters/function_calling_filter_pipeline.py but still unsuccessful. I am using Open WebUI with Bundled Ollama Support (see https://github.com/open-webui/open-webui?tab=readme-ov-file#installing-open-webui-with-bundled-ollama-support). Checking Docker logs I realised that Open WebUi was not able to connect to Ollama API (even if the downloaded models were working fine). So I reached the following setup that doesn't throw errors. Launch container with: Setup API endpoints as follows: I installed the pipeline from Github URL and setup as follows: If I use localhost instead of host.docker.internal as OpenAI API Base URL, still no error is thrown, but I can't get my models to use the pipeline. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I installed the wikipedia pipeline and the text to sql. I noticed I didn't see the latter in valves, so I repasted the URL for the installation multiple times. Result: it completed bricked OpenWebUI and in the docker logs I see
And I have no idea on what to do |
Beta Was this translation helpful? Give feedback.
-
I created this little guide to help newbies Run pipelines, as it was a challenge for me to install and run pipelines. Hope it helps.
Pipelines Usage
Quick Start with Docker
Pipelines Repository Quick Guide
What to do Next?
Run the Pipelines container:
Login to Open WebUI:
http://host.docker.internal:9099
and the API key to0p3n-w3bu!
. Your pipelines should now be active. IF localhost doesn't work usehost.docker.internal
You can Download the examples folder (or individual files, as you wish) from the Pipelines repository:
`To Download the Examples Folder:
Here we will perform an example on one file which is called wikipedia_pipeline.py you can direct download it to linux from the link below
Place The downloaded file
wikipedia_pipeline.py
in pipelines Root Folder.In the open webui interface Go to Admin Panel > Gear Icon in top right ⚙ > pipelines
you should see
Pipelines Valves
click on the pulldown menu and selectwikipedia_pipeline
done
Beta Was this translation helpful? Give feedback.
All reactions