-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug]: get_or_create
should not update metadata if it exists
#478
Comments
To clarify - we aren't sure how to solve this problem - its just a bit confusing that get_or_create can silently update the metadata |
The issue is in the logic Lines 83 to 87 in 7b9d745
The |
FWIW - it appears we have maintained this logic in the refactor chroma/chromadb/api/segment.py Line 112 in 4332adf
|
we want to update the docstrings to at least be more clear about this behavior |
What happened?
This is unintuitive behaivor
Versions
All
Relevant log output
No response
The text was updated successfully, but these errors were encountered: