easyiec.evaluators.CachedClient#
- class easyiec.evaluators.CachedClient(inner, path='.easyiec_cache')[source]#
Bases:
LLMClientDisk cache in front of any client: identical requests are answered from file.
Makes experiments reproducible and re-analysable without new API costs. The key is a SHA-256 of the model, the prompt, the image bytes, the schema and
meta['repeat'](set it to ask the same question again on purpose).