You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When adding documents with use_existing_tensors=True and an invalid document that is not a dictionary, we get a 500 error instead of the expected 400 that we get use_existing_tensors=False.
Describe the bug
When adding documents with
use_existing_tensors=True
and an invalid document that is not a dictionary, we get a 500 error instead of the expected 400 that we getuse_existing_tensors=False
.To Reproduce
Expected behavior
400
Screenshots
N/A
Desktop (please complete the following information):
Tested with macOS, but N/A
Additional context
This issue happens because validation takes place after
use_existing_tensors
logic assumes the document is a dictionary. Seemarqo/src/marqo/tensor_search/tensor_search.py
Line 432 in 6af4c94
The text was updated successfully, but these errors were encountered: