Originally created by @valckmir on GitHub (Mar 19, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
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_SIZE configuration 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.
Originally created by @valckmir on GitHub (Mar 19, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### 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_SIZE` configuration 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

I'm checking the commit but not sure about the variable name, is it the new KNOWLEDGE_FILE_MAX_SIZE or is the RAG_FILE_MAX_SIZE used there too?
@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_SIZE` or is the `RAG_FILE_MAX_SIZE` used there too?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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?