BCG-X-Official / artkit

Automated prompt-based testing and evaluation of Gen AI applications
https://bcg-x-official.github.io/artkit/_generated/home.html
Apache License 2.0
76 stars 6 forks source link

Support clearing cached results created or accessed after a given `datetime` #23

Closed rgriff23 closed 5 days ago

rgriff23 commented 1 week ago

Issue

Currently, CacheDB.clear allows users to clear cached results which were accessed or created before a given datetime:

However, it is not possible to clear results after a given datetime. This would be useful when I make a mistake midway through an analysis and I want to clear only the most recent results from my cache.

Solution

Details

Once implemented, be sure to: