Skip to content

Conversation

@vishal-bala
Copy link
Collaborator

Closes #444

This PR resolves inconsistencies in the specific implementations of SemanticCache's check and acheck methods -they were defining VectorRangeQuery inconsistently, which led to inconsistent outputs between the methods for the same configuration. In particular, the vector distance normalization in acheck resulted in (unexpectedly) incorrect cache hits.

@vishal-bala vishal-bala self-assigned this Dec 2, 2025
Copy link
Collaborator

@tylerhutcherson tylerhutcherson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@vishal-bala vishal-bala merged commit 595c450 into main Dec 3, 2025
38 checks passed
@vishal-bala vishal-bala deleted the bug/RAAE-1235/inconsistent-semanticcache-check branch December 3, 2025 13:20
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.

SemanticCache.acheck() still uses normalize_vector_distance=True inconsistently with check() (Issue #407 not fully resolved)

3 participants