We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ee5bd commit 7a9c554Copy full SHA for 7a9c554
controller/embedding/manager.py
@@ -335,7 +335,11 @@ def update_embedding_payload(
335
if not embedding_item:
336
return False
337
# commit to ensure the values are set correct for the embedding container to request
338
- previous_attributes = set(embedding_item.filter_attributes)
+ previous_attributes = (
339
+ set()
340
+ if not embedding_item.filter_attributes
341
+ else set(embedding_item.filter_attributes)
342
+ )
343
embedding_item.filter_attributes = filter_attributes
344
general.commit()
345
if connector.update_attribute_payloads_for_neural_search(project_id, embedding_id):
0 commit comments