Skip to content

Commit

Permalink
fixes - 1911 autoindex does not require params (#1921)
Browse files Browse the repository at this point in the history
  • Loading branch information
ketangangal authored Oct 2, 2024
1 parent c6b9035 commit ecefb79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mem0/vector_stores/milvus.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ def create_col(
field_name="vectors",
metric_type=metric_type,
index_type="AUTOINDEX",
index_name="vector_index",
params={"nlist": 128},
)
index_name="vector_index"
)
self.client.create_collection(collection_name=collection_name, schema=schema, index_params=index)

def insert(self, ids, vectors, payloads, **kwargs: Optional[dict[str, any]]):
Expand Down

0 comments on commit ecefb79

Please sign in to comment.