What problem does it solve? Repeated LLM API calls for semantically similar prompts waste money and add latency. This Skill guides you through adding a cache-aside layer in front of OpenAI, Anthropic, or other LLM providers using Redis Cloud's LangCache service, so similar prompts return cached responses without re-calling the model. ## Core Features & Use Cases - Cache-Aside Flow: Search LangCache before calling the LLM, and store responses on cache misses via the Python SDK or REST API. - Similarity Threshold Tuning: Adjust the cosine similarity threshold (0.8 to 0.95+) to balance hit rate against false-positive risk. - Per-Task Cache Separation: Route different LLM workloads to distinct cache IDs, or filter within one cache using custom attributes. - Use Case: A support chatbot receives thousands of paraphrased versions of the same questions. Wrap the LLM call with LangCache so repeat questions return instantly from cache, cutting API spend and response time. ## Quick Start Wrap my OpenAI call with Redis LangCache so semantically similar prompts return cached responses using a 0.9 similarity threshold.