mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #14510] issue: Nth Document Provided not Being Used by Model after first document. #17282
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 @Ducky6944 on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14510
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.12
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Answer should reference current document.
Actual Behavior
Answer references original document.
Steps to Reproduce
Context: All model related settings are default.
#https://www.youtube.com/watch?v=yCnkkljii_ksummarize1-3. Repeat 1-3 with a new URL (eg: https://www.youtube.com/watch?v=3sTsMVAMF1g).
4. Model uses original document.
You can look in the chat context and see both documents.
Logs & Screenshots
Correct Answer Given

New Document Provided and correct data pulled

Model Uses Original Document (clicking on the document in the second question still shows the correct information.)

Chat has access to both documents

Additional Information
I'm not sure what logs here are relevant here because I know there's a lot of moving parts and I didn't want to spam the issue with useless data. I did include the required logs. If you need anything let me know.
I have tried changing the context length among other things, but currently everything I suspect would be relevant is default.
I did see one similar issue in discussion, but there was no answer.
There were occassional failures to get the "youtube" document.
Logs
logs.txt
@tjbck commented on GitHub (May 29, 2025):
Have you tried this with OpenAI models to rule out Ollama issues? (e.g. context length, etc.)