Reuse similar answers to cut LLM cost and latency.
Adds semantic caching to LLM applications with guidance on cache lookups, response storage, similarity thresholds, and workload isolation.
When to use it
Use when adding an LLM or RAG cache, tuning cache precision and hit rate, or separating caches for different workloads.
It changes how the agent implements LLM caching by prescribing cache-aside lookups, similarity tuning, and isolation between task types.
What you provide
Requires a LangCache service on Redis Cloud, addressed through a server URL and cache ID.
The main SDK implementation uses Python; no runtime version is specified.
The SDK reads the LangCache API key from the API_KEY environment variable.
This skill
Redis Cloud
Creates task-specific caches