mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-18 04:51:23 -05:00
RAG on uploaded files / web search can only work for the first chat #1837
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @foxworld306 on GitHub (Aug 21, 2024).
Bug Report
Installation Method
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
Environment
**Open WebUI Version: 0.3.13
**Ollama (if applicable): 0.3.5
** Web search tool: Searxng:latest
**Operating System: Ubuntu 22.04
**Browser (if applicable): Chrome, Edge
Confirmation:
Expected Behavior:
Actual Behavior:
I found that in the Open Webui environment I deployed, it is not possible to continuously have RAG conversations with uploaded documents. It only works for the first conversation in the New Chat session I opened. From the second conversation onwards, it seems that I have never uploaded any documents. But when I look at the logs of Open Webui, I can see that the backend has already provided document retrieval results. It seems that starting from the second conversation, the retrieval results were not provided to LLM as expected, only LLM's knowledge was used to answer.
This issue also affects my online search operations. I must perform the search action in the first conversation of each New Chat session, otherwise starting from the second conversation, even if I can see Searxing returning the search results, I won't be able to get the correct answer.
I have already tried:
All the above operations cannot solve this problem.
Can you please help to check?
Logs and Screenshots
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!