Dynamic cache routing: global vs user scoped #18448
Harshit28j
started this conversation in
Ideas
Replies: 1 comment
-
|
couldn't we isolate by just appending user id to the cache key? litellm/litellm/caching/caching.py Line 298 in a912665 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey team, I was exploring codebase and trying to understand the caching module and noticed the cache type is fixed at config time.
Has anyone explored dynamic routing?
where prompts are classified and routed to either global cache (for factual questions) or user-scoped cache (for personal context)?
Potential benefits:
This is what I am thinking:
Beta Was this translation helpful? Give feedback.
All reactions