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

fix: add sync param

parent c67c1351
No related branches found
No related tags found
No related merge requests found
[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>",
......
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment