NVIDIA / NVIDIA/GenerativeAIExamples

Knowledge Graph Rag (Community) - Steps Missing

Đang mở
#281 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

I am trying to run the Community Graph RAG example as mentioned here. But it looks like there are some steps missing between 6 and 7. When I am doing the python server.py as mentioned in Step 7 I am getting the following error

Traceback (most recent call last):
  File "D:\KnowledgeGrpahRAG\GenerativeAIExamples\community\knowledge_graph_rag\backend\server.py", line 18, in <module>
    from routers import ui_backend,chat,evaluation,visualization
  File "D:\KnowledgeGrpahRAG\GenerativeAIExamples\community\knowledge_graph_rag\backend\routers\chat.py", line 42, in <module>
    KG_GRAPHML_PATH = os.path.join(DATA_DIR, "knowledge_graph.graphml")
  File "C:\Users\avish\AppData\Local\Programs\Python\Python310\lib\ntpath.py", line 104, in join
    path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType

It is looking for knowledge_graph.graphml which possibly is created through some other scripts but not mentioned there. Possibly it will need pre-execution of lc_graph.py under utils folder. Any help to figure out what to do would be appreciated.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Đọc các hướng dẫn Community Graph RAG liên quan đến Bước 6 và 7, sau đó kiểm tra community/knowledge_graph_rag/backend/server.py và utils/lc_graph.py được đề cập. Ghi lại điều kiện tiên quyết hoặc bước tạo còn thiếu cho knowledge_graph.graphml để người dùng có thể làm theo ví dụ và khởi động server.py mà không gặp lỗi đã báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
ai, documentation
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
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
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.