mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
The RAG don't work ! #2094
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 @Domi31tls on GitHub (Sep 16, 2024).
Bug Report
When I ask a question about a document or web, the response is always negative; the system does not see the document.
Installation Method
Ubuntu 24.04
Docker
Version open-webui v0.3.21
Ollama
Mistal-nemo
[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]
Docker pull
Environment
Version open-webui v0.3.21
Version 0.3.9 local
Ubuntu 24.04
Confirmation:
Expected Behavior:
[Describe what you expected to happen.]
Actual Behavior:
[Describe what actually happened.]
No reponse when I ask about a document or web adress :
Description
Bug Summary:
Regardless of the question about a document or a website, the system does not see the document. I have tried with other embedded systems and encountered the same issue. Of course, the problem is the same when I load a page with #. The tests I am conducting are on text documents that are only 2 pages long.
Docker Container Logs:
No errors or warning
Screenshots/Screen Recordings (if applicable):
@Domi31tls commented on GitHub (Sep 16, 2024):
I usee this RAG model : Use the following context as your learned knowledge, inside XML tags.
[context]
When answer to user:
Avoid mentioning that you obtained the information from the context.
And answer according to the language of the user's question.
Given the context information, answer the query.
Query: [query]
@thiswillbeyourgithub commented on GitHub (Sep 16, 2024):
I fixed it already, it will be in the next release. #5378
You can try the dev branch or wait for the next release. Maybe try disabling hybrid search too if you set it.
Edit:
See #5323 for why I don't recommend the model you're using
It might also be related to the lack of extension of the file you gave. Try with it ending by .txt ?