Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

fixes - 1911 autoindex does not require params (#1921)

k10ecefb793fcde
diff --git a/mem0/vector_stores/milvus.py b/mem0/vector_stores/milvus.py
index e1df3458e..a2fb8002e 100644
--- a/mem0/vector_stores/milvus.py
+++ b/mem0/vector_stores/milvus.py
@@ -79,9 +79,8 @@ class MilvusDB(VectorStoreBase):
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]]):