Skip to content

Add Context-Enabled Semantic Caching recipe to semantic cache folder #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

redis-phil
Copy link

Add Context-Enabled Semantic Caching Recipe
Overview
This PR adds a comprehensive Jupyter notebook demonstrating Context-Enabled Semantic Caching (CESC) - a three-tier caching architecture that combines Redis vector search with user personalization to deliver tailored LLM responses at 60-80% lower cost and sub-100ms latency.

What's Added

  • Complete production-ready implementation using Redis, OpenAI/Azure OpenAI, and comprehensive telemetry tracking

  • Real-world IT support scenario showcasing semantic similarity matching with user memory integration for personalized responses

Enterprise Impact
Provides quantifiable ROI with 200-400% first-year returns for organizations processing >10K daily LLM queries through intelligent model selection (GPT-4o for new content, GPT-4o-mini for personalization) and Redis-powered vector caching.

@abrookins
Copy link
Contributor

@redis-phil Thanks for the PR and 👋. Can you take a look at the failing build and make any changes to the notebook needed to get it passing? https://github.com/redis-developer/redis-ai-resources/actions/runs/16683036159/job/47230595099?pr=99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants