chroma
chroma copied to clipboard
[Feature Request]: TTL for entries
Describe the problem
Does ChromaDB support TTL for automatically evicting entries? It would be greatly beneficial if it did, as runtime servers could utilize TTL to manage memory more efficiently.
Describe the proposed solution
Include a field in each entry akin to metadata and initiate cleanup if the TTL exceeds the modified time.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
I can help implement this feature.
We don't have this feature today - I am curious to learn about your product use case. Could you say how you would use this / for what?
I can't answer for chapara but in my case,in my chatbot to handle addtionnaly uploaded files, i use temp collections unique for each userid, which change at each reload and if i keep creating them without deleting them, it will cause memory issues so a ttl paramter for a collection would help me handle automatic deletion of these temp collections