I have no problem with file upload but RAG never worked on my end. I didn't do anything else except uploading file and sending to chat, do I need to install some pipeline or tool for a basic rag?
Browser (if applicable): Latest Arc Browser, trying on chrome and firefox as of now.
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:
Basic embedding search.
Actual Behavior:
No idea about file(expected) but also no idea about questions.
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
I'm using openai embeddings.
Uploading any pdf file and ask my questions.
Logs and Screenshots
Browser Console Logs:
No network or console errors on devtools.
Docker Container Logs:
ERROR [apps.rag.main] 'NoneType' object is not iterable
Traceback (most recent call last):
File "/app/backend/apps/rag/main.py", line 998, in store_docs_in_vector_db
embeddings = embedding_func(embedding_texts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/apps/rag/utils.py", line 236, in <lambda>
return lambda query: generate_multiple(query, func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/apps/rag/utils.py", line 229, in generate_multiple
embeddings.extend(f(query[i : i + batch_size]))
TypeError: 'NoneType' object is not iterable
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
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 @mirkancal on GitHub (Aug 15, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4611
# Bug Report
I have no problem with file upload but RAG never worked on my end. I didn't do anything else except uploading file and sending to chat, do I need to install some pipeline or tool for a basic rag?
<img width="571" alt="image" src="https://github.com/user-attachments/assets/1198d46c-93de-4371-9873-32491b0b340f">
<img width="609" alt="image" src="https://github.com/user-attachments/assets/c34a9a81-5da6-4eb5-b705-a0c016091a6c">
## Installation Method
Docker, Ubuntu server
## Environment
- **Open WebUI Version:** v0.3.13
[(latest)](https://github.com/open-webui/open-webui/releases/tag/v0.3.13)
- **Operating System:** : Ubuntu 24.04 LTS
Docker version 27.1.2, build d01f264
- **Browser (if applicable):** Latest Arc Browser, trying on chrome and firefox as of now.
**Confirmation:**
- [X] I have read and followed all the instructions provided in the README.md.
- [X] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [X] I have included the Docker container logs.
- [X] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
Basic embedding search.
## Actual Behavior:
No idea about file(expected) but also no idea about questions.
## Description
**Bug Summary:**
[Provide a brief but clear summary of the bug]
## Reproduction Details
**Steps to Reproduce:**
I'm using openai embeddings.
Uploading any pdf file and ask my questions.
## Logs and Screenshots
**Browser Console Logs:**
No network or console errors on devtools.
**Docker Container Logs:**
```
ERROR [apps.rag.main] 'NoneType' object is not iterable
Traceback (most recent call last):
File "/app/backend/apps/rag/main.py", line 998, in store_docs_in_vector_db
embeddings = embedding_func(embedding_texts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/apps/rag/utils.py", line 236, in <lambda>
return lambda query: generate_multiple(query, func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/backend/apps/rag/utils.py", line 229, in generate_multiple
embeddings.extend(f(query[i : i + batch_size]))
TypeError: 'NoneType' object is not iterable
```
**Screenshots/Screen Recordings (if applicable):**
[Attach any relevant screenshots to help illustrate the issue]
## Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
## 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!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @mirkancal on GitHub (Aug 15, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4611
Bug Report
I have no problem with file upload but RAG never worked on my end. I didn't do anything else except uploading file and sending to chat, do I need to install some pipeline or tool for a basic rag?


Installation Method
Docker, Ubuntu server
Environment
Open WebUI Version: v0.3.13
(latest)
Operating System: : Ubuntu 24.04 LTS
Docker version 27.1.2, build d01f264
Confirmation:
Expected Behavior:
Basic embedding search.
Actual Behavior:
No idea about file(expected) but also no idea about questions.
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
I'm using openai embeddings.
Uploading any pdf file and ask my questions.
Logs and Screenshots
Browser Console Logs:
No network or console errors on devtools.
Docker Container Logs:
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
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!