mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
feat: File size limit for knowledge base #4488
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @valckmir on GitHub (Mar 19, 2025).
Check Existing Issues
Problem Description
Hello,
My colleagues and I really like this project; you did a tremendous amount of good work!
My colleagues like it so much that they try to upload huge files (10-1000 MB) into the knowledge base which often crashes our Chroma DB instance.
I find the
RAG_FILE_MAX_SIZEconfiguration very useful but unfortunately, there is no such variable for the knowledge base.Desired Solution you'd like
Would it be possible to introduce independent configuration variable for file max size uploaded to the knowledge base? Something like
KNOWLEDGE_FILE_MAX_SIZE?Alternatives Considered
No response
Additional Context
I'm looking forward to hearing what others think about this.
@wertrigone commented on GitHub (Mar 19, 2025):
use another model
@valckmir commented on GitHub (Mar 19, 2025):
Model is not a problem, we use an embedding model through API.
@tjbck commented on GitHub (Mar 19, 2025):
Addressed with
c69d1c86fe@valckmir commented on GitHub (Mar 19, 2025):
Thank you for your quick response!
I'm checking the commit but not sure about the variable name, is it the new
KNOWLEDGE_FILE_MAX_SIZEor is theRAG_FILE_MAX_SIZEused there too?