easyiec.evaluators.CachedClient#

class easyiec.evaluators.CachedClient(inner, path='.easyiec_cache')[source]#

Bases: LLMClient

Disk 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).

Examples using easyiec.evaluators.CachedClient#

Claude as the evaluator of a session

Claude as the evaluator of a session