-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Q&A mode always fails. #12142
Comments
To resolve the "Requests rate limit exceeded" error in your self-hosted Dify setup, you can try the following solutions:
These steps are based on handling similar rate limit issues in Dify version 0.13.2 and the Tongyi embedding service [2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
will check today thanks |
|
Alright, looking forward to the results. Thank you. |
According to the log, the issue is not on the embedding side but on the LLM side. Q&A mode is passing your chunked document content to LLM generate Q&A pairs. My guess is that your document has a bit more chunks than the rate limit and triggered your LLM provider's error. |
I uploaded a PDF with only two pages, but the same issue occurred. The PDF is as follows. |
This pdf works fine in my side.. |
That's strange. I only modified a few parameters in the .env and docker-compose.yaml files, as shown below. .env
docker-compose.yaml
I haven't made any other changes. @yihong0618 |
Made the same change to .env and docker-compose.yaml, still cannot replicated your problem with the pdf file provided. |
That's so strange. |
What is your current dify's system model? Can you try changing your dify's system reasoning model to a model with a higher rate limit or a locally deployed one and see whether the problem persists? |
dify's system model:qwen-vl-max。After switching to qwen-max, it was able to process normally, but ultra-long PDF files still fail to process. This should be related to the model's rate limit. Currently, local model deployment is not possible. Can Dify control the indexing speed during the indexing process? |
Self Checks
Dify version
0.14.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The configuration after I upload files to the knowledge base is as follows.
When I click "Save and Process," the following issue occurs.
How can I resolve this issue?
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: