Knowledge Graph Rag (Community) - Steps Missing
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 38/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- ai, documentation
调研方向
阅读 Community Graph RAG 中围绕步骤 6 和 7 的说明,然后检查 community/knowledge_graph_rag/backend/server.py 以及提到的 utils/lc_graph.py。记录 knowledge_graph.graphml 所缺少的前置条件或生成步骤,以便用户可以按照示例操作并在没有报告的错误的情况下启动 server.py。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Jupyter Notebook
- 星标
- 4.2k
- 派生
- 1.1k
- 平均合并
- 10 小时 15 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/GenerativeAIExamples 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
NVIDIA/GenerativeAIExamples#361 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/GenerativeAIExamples#299 ·
-
难度 3/5 1-2 天 新手友好度 35/100
NVIDIA/GenerativeAIExamples#437 ·
-
难度 1/5 1 小时以内 新手友好度 45/100
NVIDIA/GenerativeAIExamples#400 ·
-
难度 5/5 一周以上 新手友好度 10/100
NVIDIA/GenerativeAIExamples#399 ·
查看 NVIDIA/GenerativeAIExamples 的全部 Issue
相似的 Issue
-
area/config comp/cli comp/plugins P3 Plugin Catalog sweeper:risk-compatibility tool/memory type/bug
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#119909 · 1 条评论 ·
-
bug configuration documentation examples policies processor tests training
难度 2/5 1-3 小时 新手友好度 70/100
huggingface/lerobot#4727 ·
-
ai-content daily-post
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 76/100
run-llama/llama_index#23199 ·
-
p:2-high pydanty:bug
难度 2/5 1-3 小时 新手友好度 90/100
pydantic/pydantic-ai#8642 · 2 条评论 ·