Skip to content
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

Fix cache schema overwrite #208

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

justin-cechmanek
Copy link
Collaborator

This PR addresses an issue where if an index already exists, and a user attempts to create a new index with the same name, but different schema, filters will not correctly match cache entries.
An error is raised if a user attempts to modify the index schema, unless overwrite=True in SemanticCache initialization.

@tylerhutcherson tylerhutcherson merged commit 23bb66d into main Aug 26, 2024
20 checks passed
@tylerhutcherson tylerhutcherson deleted the fix/RAAE-266/fix-cache-schema-override branch August 26, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants