From the file:
https://github.com/nlweb-ai/NLWeb/blob/main/code/python/retrieval_providers/milvus_client.py
Line 95:
self._milvus_clients[client_key] = MilvusClient(self.uri, self.token)
Bug: wrong order of token parameter in MilvusClient()
Milvus's SDK documentation:
MilvusClient(
uri: str,
user: str,
password: str,
db_name: str,
token: str,
timeout=None,
**kwargs
)
Bug fix:
MilvusClient(uri=self.uri, token=self.token)