diff --git a/pyproject.toml b/pyproject.toml index 5b05fbc9f681cce08c79836d4a6acb8d0a22a088..d7fba4d03e7b589733c5c9b265ec6f36bf653ab1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "semantic-router" -version = "0.0.50" +version = "0.0.51" description = "Super fast semantic router for AI decision making" authors = [ "James Briggs <james@aurelio.ai>", diff --git a/semantic_router/index/qdrant.py b/semantic_router/index/qdrant.py index 165a4c93ce2662a9ede4a1d41c4ac34f26b1a218..f3a6bbf2986db45355ac3c7a418dabb6394fbfb7 100644 --- a/semantic_router/index/qdrant.py +++ b/semantic_router/index/qdrant.py @@ -165,8 +165,11 @@ class QdrantIndex(BaseIndex): embeddings: List[List[float]], routes: List[str], utterances: List[str], + sync: bool = False, batch_size: int = DEFAULT_UPLOAD_BATCH_SIZE, ): + if sync: + raise NotImplementedError("Sync add is not implemented for QdrantIndex") self.dimensions = self.dimensions or len(embeddings[0]) self._init_collection()