Closed PubliBrasil closed 2 months ago
Hello, @PubliBrasil! I'm here to assist you with any bugs, questions, or contributions regarding Dify's Knowledge Base. Let's take a look at the issue you've encountered.
I found similar issues and discussions related to files being stuck in the "Queuing" status when uploading to the knowledge base in Dify:
For your specific case in Cloud Dify, the most likely cause is that the rate limit has been reached for the Embedding model API key used [1].
To resolve this, you should:
If the issue persists, you may need to review the logs for any errors or warnings that could provide more insight into why the files are stuck in the "Queuing" status.
To continue talking to Dosu, mention @dosu.
@dosu I have already checked Dify's limits, as shown in the image I sent previously, and they were not reached. I analyzed the Embedding Model API - Cohere - which is paid - I also did not reach the limit.
If you've confirmed that neither Dify's limits nor the Embedding Model API limits have been reached, there are a few other potential causes to investigate:
Check for Specific Error Messages or Logs: Review the logs for any specific error messages that might indicate the cause of the issue. Common error messages include:
provider_not_initialize
: Embedding model not configuredprovider_quota_exceeded
: Model quota exceededunsupported_file_type
: Unsupported file typetoo_many_files
: Too many filesfile_too_large
: File too largedocument_indexing
: Document indexing failednot_found
: Document not founddataset_name_duplicate
: Dataset name duplicatedataset_not_initialized
: Dataset not initialized [1][2].Verify Celery Worker Service: Ensure that the Celery worker service is running correctly. This service is responsible for processing tasks such as document indexing. You can verify and troubleshoot the Celery worker service by following these steps:
.env
file is correctly configured.Logs and Debugging Tools: Utilize Dify's Logs feature to diagnose issues with document uploads. This feature allows you to observe and mark the interactions of the Dify app, providing insights into user inputs, AI outputs, and evaluations by users and operators [5].
By following these steps, you should be able to identify and resolve the issue causing your files to be stuck in the "Queuing" status.
To continue talking to Dosu, mention @dosu.
We are currently working on it
It's resolved now.
Self Checks
Dify version
0.7.1
Cloud or Self Hosted
Cloud
Steps to reproduce
I started to encounter problems when uploading any file to the knowledge base to Cloud Dify, manually or via API. I checked and found no limitations on the account.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response