NVIDIA / NVIDIA/GenerativeAIExamples
Chatting with NVIDIA Financial Reports MilvusException timeout
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 4.2k
- Forks
- 1.1k
- Avg merge
- 10h 15m
- Merged PRs (30d)
- 1
Description
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},
``
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with RAG/notebooks/langchain/Chat_with_nvidia_financial_reports.ipynb and reproduce the Milvus.from_documents call using the reported connection_args. Check the Milvus service endpoint at milvus:19530 and compare the notebook setup with the working hello-milvus.py example. Done means the notebook connects successfully and completes the similarity_search without a MilvusException timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100