NVIDIA / NVIDIA/GenerativeAIExamples
Chatting with NVIDIA Financial Reports MilvusException timeout
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 4.2k
- Fork
- 1.1k
- Merge trung bình
- 10 giờ 15 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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},
``
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với RAG/notebooks/langchain/Chat_with_nvidia_financial_reports.ipynb và tái tạo lệnh gọi Milvus.from_documents bằng connection_args đã được báo cáo. Kiểm tra endpoint của dịch vụ Milvus tại milvus:19530 và so sánh thiết lập của notebook với ví dụ hello-milvus.py đang hoạt động. Được xem là hoàn tất khi notebook kết nối thành công và hoàn thành similarity_search mà không bị timeout MilvusException.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- jupyter-notebook, python
- Lĩnh vực
- backend, databases
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100