[GH-ISSUE #3014] The RAG function is not available. #28625

Closed
opened 2026-04-25 03:14:29 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @gsm1258 on GitHub (Jun 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3014

Bug Report

The content of the uploaded file cannot be recognized, and it is prompted that no relevant content is provided, so the question cannot be answered correctly.

Description

Bug Summary:
Models in use: ['Qwen1.5-MoE-A2.7B:latest']
remove_after_timeout 3PXEXf-u4T9JEfm7AAAB Qwen1.5-MoE-A2.7B:latest
INFO:apps.ollama.main:url: http://localhost:11434
{'model': 'Qwen1.5-MoE-A2.7B:latest', 'messages': [{'role': 'system', 'content': "Use the following context as your learned knowledge, inside XML tags.\n\n 带鱼最好吃的做法是剪制。\n\n\nWhen answer to user:\n- If you don't know, just say that you don't know.\n- If you don't know when you are not sure, ask for clarification.\nAvoid mentioning that you obtained the information from the context.\nAnd answer according to the language of the user's question.\n\nGiven the context information, answer the query.\nQuery: 请总结一下"}], 'options': {}}
Received "usage" event from 3PXEXf-u4T9JEfm7AAAB: {'action': 'chat', 'model': 'Qwen1.5-MoE-A2.7B:latest', 'chat_id': '9d1f84bb-5b5e-4f1f-bef4-c99b3e234fd5'}
Models in use: ['Qwen1.5-MoE-A2.7B:latest']

Steps to Reproduce:
Error:'messages': [{'role': 'system', 'content':
Correct: 'messages': [{'role': 'user', 'content':

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

Actual Behavior:
[Describe what actually happened.]

Environment

  • Open WebUI Version:0.3.1,0.3.2

  • Ollama: 0.1.43

  • Operating System:Windows 11, ,centos 7

  • Browser : Chrome 122

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

[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]

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 @gsm1258 on GitHub (Jun 11, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/3014 # Bug Report The content of the uploaded file cannot be recognized, and it is prompted that no relevant content is provided, so the question cannot be answered correctly. ## Description **Bug Summary:** Models in use: ['Qwen1.5-MoE-A2.7B:latest'] remove_after_timeout 3PXEXf-u4T9JEfm7AAAB Qwen1.5-MoE-A2.7B:latest INFO:apps.ollama.main:url: http://localhost:11434 {'model': 'Qwen1.5-MoE-A2.7B:latest', 'messages': [{'role': 'system', 'content': "Use the following context as your learned knowledge, inside <context></context> XML tags.\n<context>\n 带鱼最好吃的做法是剪制。\n</context>\n\nWhen answer to user:\n- If you don't know, just say that you don't know.\n- If you don't know when you are not sure, ask for clarification.\nAvoid mentioning that you obtained the information from the context.\nAnd answer according to the language of the user's question.\n\nGiven the context information, answer the query.\nQuery: 请总结一下"}], 'options': {}} Received "usage" event from 3PXEXf-u4T9JEfm7AAAB: {'action': 'chat', 'model': 'Qwen1.5-MoE-A2.7B:latest', 'chat_id': '9d1f84bb-5b5e-4f1f-bef4-c99b3e234fd5'} Models in use: ['Qwen1.5-MoE-A2.7B:latest'] **Steps to Reproduce:** Error:'messages': [{'role': 'system', 'content': Correct: 'messages': [{'role': 'user', 'content': **Expected Behavior:** [Describe what you expected to happen.] **Actual Behavior:** [Describe what actually happened.] ## Environment - Open WebUI Version:0.3.1,0.3.2 - Ollama: 0.1.43 - Operating System:Windows 11, ,centos 7 - Browser : Chrome 122 ## 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 [Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.] ## 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#28625