Class: DSPy::LM::CacheManager::CacheEntry
- Inherits:
-
T::Struct
- Object
- T::Struct
- DSPy::LM::CacheManager::CacheEntry
- Extended by:
- T::Sig
- Defined in:
- lib/dspy/lm/cache_manager.rb
Overview
Cache entry with TTL
Instance Method Summary collapse
Instance Method Details
#expired? ⇒ Boolean
19 20 21 |
# File 'lib/dspy/lm/cache_manager.rb', line 19 def expired? Time.now > expires_at end |