Knowledge bases not working ? #2565

Closed
opened 2025-11-11 15:09:46 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @tiennou44 on GitHub (Nov 5, 2024).

I'm testing Open WebUI (with Ollama) with knowledge bases.
I created two knowledge bases: one called "collection 1" with a pdf file named xxx.pdf and the other called "collection 2" with a pdf file named yyy.pdf.
Each PDF file contains completely different information.
When I start a new conversation, I want to summarize "collection 1". I select "collection 1" with #, then I write my prompt, and I therefore obtain a first response, which summarizes the content of the PDF file of "collection 1".
In the same conversation (this is important), I now select "collection 2", again with #, then write the exact same prompt to summarize the "collection 2".
I then get a new answer, but which summarizes "collection 1" and not "collection 2".
If I now create "collection 3" in the knowledge bases with the files xxx.pdf and yyy.pdf, when I request a summary of the file yyy.pdf after having requested the summary of the file xxx.pdf, it is the same problem: I get the summary from the xxx.pdf file, not from the yyy.pdf file.
And when I request the summary of the entire collection, I get the summary of the xxx.pdf file.

Originally created by @tiennou44 on GitHub (Nov 5, 2024). I'm testing Open WebUI (with Ollama) with knowledge bases. I created two knowledge bases: one called "collection 1" with a pdf file named xxx.pdf and the other called "collection 2" with a pdf file named yyy.pdf. Each PDF file contains completely different information. When I start a new conversation, I want to summarize "collection 1". I select "collection 1" with #, then I write my prompt, and I therefore obtain a first response, which summarizes the content of the PDF file of "collection 1". In the same conversation (this is important), I now select "collection 2", again with #, then write the exact same prompt to summarize the "collection 2". I then get a new answer, but which summarizes "collection 1" and not "collection 2". If I now create "collection 3" in the knowledge bases with the files xxx.pdf and yyy.pdf, when I request a summary of the file yyy.pdf after having requested the summary of the file xxx.pdf, it is the same problem: I get the summary from the xxx.pdf file, not from the yyy.pdf file. And when I request the summary of the entire collection, I get the summary of the xxx.pdf file.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2565