Replies: 1 comment
-
I found a similar solved discussion regarding the number of files in the knowledge base. According to the discussion, there is no specific limit to the number of files that can be set in the knowledge base for the Community Edition [1]. However, there are documented performance benchmarks and limitations for the number of files in the knowledge base. Different subscription plans for the SaaS version limit batch upload numbers, total document uploads, and vector storage [2]. For optimizing performance when switching from 'economical' to 'high quality' mode, you can adjust specific configuration settings or parameters. These include embedding model configuration, retrieval settings (vector search, full-text search, hybrid search), and multi-path retrieval mode. Adjusting parameters like TopK, Score Threshold, and Rerank Model can help improve performance [2][3]. If the server encounters problems with 5000 files, it might be due to resource limitations. Unfortunately, specific server resource requirements (CPU, memory, etc.) for handling large knowledge bases in 'high quality' mode are not documented in the repository. You might need to experiment with fewer files or upgrade your server resources to handle the load better. |
Beta Was this translation helpful? Give feedback.
-
Self Checks
Dify version
0.8.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
There are 5000 md files stored in my knowledge base. When changing the knowledge base from economical to high quality, the server has problems, so how many files should be placed in the knowledge base
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Beta Was this translation helpful? Give feedback.
All reactions