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

Throw exception when mixing volatile and persistent data #948

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

dluc
Copy link
Collaborator

@dluc dluc commented Dec 18, 2024

Multiple customers are reporting duplicate records or missing answers, most times because of an incorrect KM setup such as using a volatile document storage with a persistent vector store (or viceversa).

This PR changes the memory builder behavior to detect these setups and throw an exception in such cases. The exception can be suppressed if the user needs such a setup, e.g. for testing purposes.

@dluc dluc merged commit 0b006f8 into microsoft:main Dec 18, 2024
6 checks passed
@dluc dluc deleted the volatilewarning branch December 18, 2024 22:19
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.

1 participant