Impossible to use the RAG #1640

Closed
opened 2025-11-11 14:49:00 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @Domi31tls on GitHub (Jul 30, 2024).

Bug Report

Description

When I provide a collection and ask a question, it responds that it doesn't know. I have tried many times, modifying my prompts, the embeddings, etc... nothing happens, the documents don't seem to be loaded.

image

Bug Summary:
image

Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]

Expected Behavior:
[Describe what you expected to happen.]

Actual Behavior:
[Describe what actually happened.]

Environment

  • Open WebUI Version: Latest

  • Ollama (if applicable): latest

  • Ubuntu 24.04

Reproduction Details

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.

Logs and Screenshots

Browser Console Logs:
[Include relevant browser console logs, if applicable]

Docker Container Logs:
[Include relevant Docker container logs, if applicable]

Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]

Installation Method

Docker

Additional Information

I test with pdf and text files.

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!

Originally created by @Domi31tls on GitHub (Jul 30, 2024). # Bug Report ## Description When I provide a collection and ask a question, it responds that it doesn't know. I have tried many times, modifying my prompts, the embeddings, etc... nothing happens, the documents don't seem to be loaded. ![image](https://github.com/user-attachments/assets/10fecb8e-1c3c-4b74-b3ee-eef72f429aaa) **Bug Summary:** ![image](https://github.com/user-attachments/assets/995dc4aa-5d82-410a-9077-3ba13e1560f4) **Steps to Reproduce:** [Outline the steps to reproduce the bug. Be as detailed as possible.] **Expected Behavior:** [Describe what you expected to happen.] **Actual Behavior:** [Describe what actually happened.] ## Environment - **Open WebUI Version:** Latest - **Ollama (if applicable):** latest - Ubuntu 24.04 ## Reproduction Details **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. ## Logs and Screenshots **Browser Console Logs:** [Include relevant browser console logs, if applicable] **Docker Container Logs:** [Include relevant Docker container logs, if applicable] **Screenshots (if applicable):** [Attach any relevant screenshots to help illustrate the issue] ## Installation Method Docker ## Additional Information I test with pdf and text files. ## 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!
Author
Owner

@sir3mat commented on GitHub (Jul 30, 2024):

Did you have enabled the hybrid search? What is the provider chosen to expose the embedding model (sentence transformer or ollama)?

@sir3mat commented on GitHub (Jul 30, 2024): Did you have enabled the hybrid search? What is the provider chosen to expose the embedding model (sentence transformer or ollama)?
Author
Owner

@justinh-rahb commented on GitHub (Jul 30, 2024):

What num_ctx/"Context Size" are you running your model?

@justinh-rahb commented on GitHub (Jul 30, 2024): What `num_ctx`/"Context Size" are you running your model?
Author
Owner

@Domi31tls commented on GitHub (Jul 30, 2024):

Thank for you help,

I use ollama with chroma/all-minilm-l6-v2-f32.
image

@Domi31tls commented on GitHub (Jul 30, 2024): Thank for you help, I use ollama with chroma/all-minilm-l6-v2-f32. ![image](https://github.com/user-attachments/assets/b3b6c29e-3bdc-40c9-bba9-2f318d75b491)
Author
Owner

@Domi31tls commented on GitHub (Jul 30, 2024):

I use thé default num_ctx.

@Domi31tls commented on GitHub (Jul 30, 2024): I use thé default num_ctx.
Author
Owner

@justinh-rahb commented on GitHub (Jul 30, 2024):

@Domi31tls for Ollama models this is only 2048 tokens, not a lot to work with. Increasing this value will vastly increase RAM usage though. There is a PR in Ollama that would seek to alleviate that burden:
https://github.com/ollama/ollama/pull/5894

@justinh-rahb commented on GitHub (Jul 30, 2024): @Domi31tls for Ollama models this is only 2048 tokens, not a lot to work with. Increasing this value will vastly increase RAM usage though. There is a PR in Ollama that would seek to alleviate that burden: https://github.com/ollama/ollama/pull/5894
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1640