From caefb77cc8a0647eaa5a5778b08d96d494162543 Mon Sep 17 00:00:00 2001 From: James Briggs <james.briggs@hotmail.com> Date: Thu, 11 Jul 2024 16:34:48 +0800 Subject: [PATCH] fix: modify sync param for qdrant --- semantic_router/index/qdrant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic_router/index/qdrant.py b/semantic_router/index/qdrant.py index f3a6bbf2..4bf8d893 100644 --- a/semantic_router/index/qdrant.py +++ b/semantic_router/index/qdrant.py @@ -169,7 +169,7 @@ class QdrantIndex(BaseIndex): batch_size: int = DEFAULT_UPLOAD_BATCH_SIZE, ): 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._init_collection() -- GitLab