Skip to content
Snippets Groups Projects
Unverified Commit caefb77c authored by James Briggs's avatar James Briggs
Browse files

fix: modify sync param for qdrant

parent 21c049b6
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ class QdrantIndex(BaseIndex): ...@@ -169,7 +169,7 @@ class QdrantIndex(BaseIndex):
batch_size: int = DEFAULT_UPLOAD_BATCH_SIZE, batch_size: int = DEFAULT_UPLOAD_BATCH_SIZE,
): ):
if sync: if sync:
raise NotImplementedError("Sync add is not implemented for QdrantIndex") logger.warning("Sync add is not implemented for QdrantIndex")
self.dimensions = self.dimensions or len(embeddings[0]) self.dimensions = self.dimensions or len(embeddings[0])
self._init_collection() self._init_collection()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment