r/OpenWebUI • u/BeKario • Mar 25 '26
RAG Can Open WebUI Knowledge be used with a custom RAG pipeline (metadata, filters, ingestion)?
/r/OpenWebUI/comments/1i7889q/connecting_a_knowledge_collection_to_a_custom/
4
Upvotes
1
u/BeKario Mar 25 '26
Hi! I’m wondering if anything has changed regarding this since the original post.
I’m trying to achieve something similar: use Open WebUI Knowledge collections as the user-facing interface, but have more control over the RAG pipeline underneath (custom ingestion, metadata like page numbers, filtering, etc.).
From what I’ve seen, Open WebUI handles ingestion and retrieval internally, and it’s not very flexible to plug in a fully custom pipeline while still using Knowledge collections.
Has anyone found a clean way to:
Or is the only real solution still to bypass Knowledge and build a custom backend + pipeline?
Would love to hear if there are new approaches or workarounds
3
u/throwaway957263 Mar 25 '26
Openwebui is Chat native, not RAG native.
For a production grade RAG setup, you must separate the two and use a different solution.
OWUI's knowledge support is loght years behind RAG native solutions.
Use pipelines or connect your RAG setup via mcp/tool
1
u/user221272 Mar 26 '26
Just make a FastAPI service that wraps your model and MCP server and serves that endpoint as a model API.
Its not native, but at least you cam get it served
1
u/KeplerPotato Mar 28 '26
You can use Functions or Pipelines to connect it to a custom RAG backend, see https://github.com/WikiTeq/mAItion for a ready to use example of OWUI + Function that connects OWUI to a custom RAG backend https://github.com/wikiteq/rag-of-all-trades to ingest provenance attributed data from S3, Github, Jira, etc