Why can't I connect remote Milvus server in Python SDK? #36226
Replies: 6 comments 65 replies
-
Hello, this is an urgent issue. Can you please help me with this? Thank you |
Beta Was this translation helpful? Give feedback.
-
This is not a problem of milvus/pymilvus. Search the keyword "Received http2 header with status: 401" to get more info. |
Beta Was this translation helpful? Give feedback.
-
@yhmo Is it possible that langchain can also provide a version of MilvusCollectionHybridSearchRetriever that can return the scores as the non-hybrid version does as below?
Although I can create multiple partitions in one collection in Milvus in hybrid search, that also requires to create a single keyword index for the whole document set. If I have documents from different sources it is logical to create one collection for each data source, and this will reduce the bm25 index building's scalability requirement. Does this make sense, or any recommendation on this concern? |
Beta Was this translation helpful? Give feedback.
-
@xiaofan-luan and @yhmo For MilvusCollectionHybridSearchRetriever,
If I change top_k from 5 to 20 without changing anything else, the orders of ranked results are not exactly the same. No matter I use 5 or 20, the top 5 results should be exactly the same, right? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, @yhmo
Do I need to use a lock for the insert() function when adding entities into milvus in an async context? Or internally it already takes care of concurrency issue so I don' t need to worry about it? |
Beta Was this translation helpful? Give feedback.
-
A remote Milvus distributed instance is deployed. And I can access it through "curl":
But then in my Python client, it reports this error:
The error message is:
In both cases, the credentials are the same: "xxx:xxx". My version:
pymilvus==2.4.6
Why is that?
Beta Was this translation helpful? Give feedback.
All reactions