[Question]: Please help! Why are all the requests very slow?
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- [x] Please do not modify this template :) and fill in all the required fields.
Describe your problem
I'm not in the debugging mode, When I send any request,about a minute later that the console printed the request log “POST /v1/kb/list?page=1&page_size=30&keywords= HTTP/1.1" 200 -”
Hello @liucheng123! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and guide you on your journey to becoming a contributor. I'll be assisting you while you wait for a human maintainer to join the conversation!
To address the slow request issue in RAGFlow, consider the following solutions:
- Disable the Reranker Feature: This feature is known to be slow on CPU and often doesn't significantly improve result quality.
- Use a GPU: If possible, use a GPU to speed up embedding processes.
- Turn Off RAPTOR: Disable the 'Use RAPTOR to enhance retrieval' option in the knowledge base configuration.
- Disable Auto Features: Turn off 'Auto-keyword' and 'Auto-question' features to reduce processing time.
- Switch Document Parser: For plain text PDFs, use 'Naive' instead of 'DeepDoc' in the document parser dropdown to save resources.
- Page Rank Score: Utilize the page rank score feature for better retrieval across multiple knowledge bases.
- Update Software: Ensure you are using the latest version of RAGFlow.
Additionally, if you're experiencing slow homepage loading due to a large vendor.js file, this issue is specific to the local development environment. Building the application for production using 'npm run build' will optimize the package file and resolve loading delays [1][2][3].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Post your configuration of chat assistant here