Skip to main content

Crate synaptic_cache

Crate synaptic_cache 

Source

Structs§

CachedChatModel
A ChatModel wrapper that caches responses using an LlmCache.
InMemoryCache
In-memory LLM response cache with optional TTL expiration.
SemanticCache
Cache that uses embedding similarity to match semantically equivalent queries.

Traits§

LlmCache
Trait for caching LLM responses.