-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Add create_or_replace_document_objects method to weaviate provider #36177
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Still need to address upsert needs and also error handling. See comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the ineFor ingesting data, it should determine objects to insert, objects to delete and objects that remain unchanged for each chunk. This would simplify the logic.
Co-authored-by: Josh Fell <[email protected]>
Co-authored-by: Josh Fell <[email protected]>
bb31a01
to
34b92ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
When inserting the data into weaviate database, it's common to override the existing data, if users go about doing that themselves, there are lots of cases and API failures that need to be handled. This PR aims to provide a helper function that can handle all cases.