The RAG don't work ! #2094

Closed
opened 2025-11-11 15:00:11 -06:00 by GiteaMirror · 2 comments
Owner

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:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

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):

image
image

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:** - [ ] I have read and followed all the instructions provided in the README.md. - [ ] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## 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):** ![image](https://github.com/user-attachments/assets/418a88a2-b2d0-4230-aa92-5250241cfe9c) ![image](https://github.com/user-attachments/assets/0c9a7071-2aff-4f69-8c5e-1f6b8b1050e2)
Author
Owner

@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:

  • If you don't know, just say that you don't know.
  • If you don't know when you are not sure, ask for clarification.
    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]

@Domi31tls commented on GitHub (Sep 16, 2024): I usee this RAG model : Use the following context as your learned knowledge, inside <context></context> XML tags. <context> [context] </context> When answer to user: - If you don't know, just say that you don't know. - If you don't know when you are not sure, ask for clarification. 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]
Author
Owner

@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 ?

@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 ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2094