Knowledge Graph Rag (Community) - Steps Missing
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- ai, documentation
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.
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.
- 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
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.
Issue khác của NVIDIA/GenerativeAIExamples
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
NVIDIA/GenerativeAIExamples#361 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NVIDIA/GenerativeAIExamples#299 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
NVIDIA/GenerativeAIExamples#437 ·
-
hyperlink not working Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
NVIDIA/GenerativeAIExamples#400 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
NVIDIA/GenerativeAIExamples#399 ·
Tất cả issue của NVIDIA/GenerativeAIExamples
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yeti-platform/yeti#1380 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
griptape-ai/griptape#2353 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
target_MAIN
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
aws-samples/bedrock-chat#1160 ·