Skip to content
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

Chatting with NVIDIA Financial Reports MilvusException timeout #253

Open
chesterxgchen opened this issue Dec 1, 2024 · 0 comments
Open

Comments

@chesterxgchen
Copy link

OS. Linux Ubuntu 20.04

Issue:
consistently get

MilvusException: <MilvusException: (code=2, message=Fail connecting to server on milvus:19530. Timeout)>

Example: https://github.com/NVIDIA/GenerativeAIExamples/blob/main/RAG/notebooks/langchain/Chat_with_nvidia_financial_reports.ipynb
code with issue

COLLECTION_NAME = "NVIDIA_Finance"
from langchain_community.vectorstores import Milvus
vectorstore = Milvus.from_documents(
    documents,
    embedder_document,
    collection_name=COLLECTION_NAME,
    connection_args={"uri": 'http://milvus:19530'}, # replace this with the ip of the workstation where milvus is running
    drop_old=True,
)
docs = vectorstore.similarity_search("what are 2024 Q3 revenues? ")

The hello-milvus.py from Milvus is working file. I added timeout 60 or 120.still doesn't work

connection_args={"uri": 'http://milvus:19530', timeout:120},
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant