Skip to content

Commit

Permalink
Merge pull request #492 from AlbertoLanaro/patch-1
Browse files Browse the repository at this point in the history
Qdrant - Return `True` on successful deletion
  • Loading branch information
zainhoda authored Jun 10, 2024
2 parents 7aa353c + 079706b commit 7ad88c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanna/qdrant/qdrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def remove_training_data(self, id: str, **kwargs) -> bool:
try:
id, collection_name = self._parse_point_id(id)
res = self._client.delete(collection_name, points_selector=[id])
res == UpdateStatus.COMPLETED
return True
except ValueError:
return False

Expand Down

0 comments on commit 7ad88c1

Please sign in to comment.