Skip to content

feat(semantic-cache-lookup): add CacheId attribute#236

Merged
Mielek merged 2 commits into
mainfrom
feat/semantic-cache-lookup-cache-id
Apr 21, 2026
Merged

feat(semantic-cache-lookup): add CacheId attribute#236
Mielek merged 2 commits into
mainfrom
feat/semantic-cache-lookup-cache-id

Conversation

@tomkerkhove
Copy link
Copy Markdown
Member

Problem

The semantic cache lookup policies (azure-openai-semantic-cache-lookup and llm-semantic-cache-lookup) are missing the cache-id XML attribute that the gateway supports. This attribute allows customers to target a specific named cache instance.

Solution

Add CacheId property to SemanticCacheLookupConfig and update the compiler and decompiler.

@tomkerkhove tomkerkhove force-pushed the feat/semantic-cache-lookup-cache-id branch from c153137 to 2825d82 Compare April 17, 2026 14:13
Add support for the cache-id XML attribute in the azure-openai-semantic-cache-lookup
and llm-semantic-cache-lookup policies. This allows customers to target a specific
named cache instance for semantic caching.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tomkerkhove tomkerkhove force-pushed the feat/semantic-cache-lookup-cache-id branch from 2825d82 to 4aaa0f7 Compare April 17, 2026 14:25
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Mielek Mielek merged commit b3f63c9 into main Apr 21, 2026
11 checks passed
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