mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-29 11:57:14 -05:00
[GH-ISSUE #14690] issue: RAG Prompt Template and System Prompt Not Working with Local Model in Open WebUI #104330
Reference in New Issue
Block a user
Originally created by @jian0927 on GitHub (Jun 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14690
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.13
Ollama Version (if applicable)
0.9.0
Operating System
ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The RAG prompt template should not take effect when building the knowledge base model using a local model.
Actual Behavior
When using a local model to build the knowledge base, I found that both the RAG prompt template and the system prompt were not taking effect. However, when using an API-connected model to build the knowledge base, the RAG prompt template worked as expected.
Steps to Reproduce
Logs & Screenshots
Since it's a remote setup, it's inconvenient to locate and check the relevant logs.
Additional Information
No response
@tjbck commented on GitHub (Jun 5, 2025):
Unable to understand this post, could you provide more extensive details?