-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in langchain-milvus import package #26
Comments
@saikumar0605 Thank you very much. from langchain_milvus import Milvus , not from langchain_milvus import milvus To ensure correct, please ensure that you have updated to the latest version pip install -U langchain_milvus |
no @zc277584121 it's the same issue I have checked the below image. the exact problem is I guess in the package somewhere there is localhost hardcoded. for server IP address. here I get this log as well = Connecting to Milvus at 100.205.208.00:19530 { please check the error why it will show localhost:19530. it should show my IP address for error right?? |
This error seems strange. Under normal circumstances, it shouldn't occur. Can you show your langchain_milvus package version? It will be appreciated if there are more error stack information which can be helpful to locate the original issue. |
BTW, can you try this code to see whether this issue would occur again from pymilvus import (
Collection,
CollectionSchema,
DataType,
FieldSchema,
MilvusClient,
MilvusException,
RRFRanker,
WeightedRanker,
utility,
)
from pymilvus.client.types import LoadState
from pymilvus.orm.types import infer_dtype_bydata |
the problem is mainly with server's localhost URL. I guess mostly its Hardcoded somewhere. this is package version: Name: milvus |
langchain_milvus version Name: langchain-milvus |
This pypi package is depracated, maybe the issue is caused from it. https://pypi.org/project/milvus/ Maybe you can uninstall
|
Hi team,
I found a bug in your latest Milvus package. The old version was running well, but the latest package had a bug, which took me almost three days to figure out. the new package has a hardcode saying localhost. even if we give server configurations yet its localhost. please check the document below for details and solve it. happy to use the updated package.
Thank you, team.
langchain-milvus.pdf
The text was updated successfully, but these errors were encountered: