NVIDIA / NVIDIA/GenerativeAIExamples
Knowledge Graph Rag (Community) - Steps Missing
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 4.2k
- Forks
- 1.1k
- Merge medio
- 10 h 15 min
- PR fusionados (30 d)
- 1
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Lee las instrucciones de Community Graph RAG en torno a los pasos 6 y 7 y, después, inspecciona community/knowledge_graph_rag/backend/server.py y el utils/lc_graph.py mencionado. Documenta el requisito previo o paso de generación que falta para knowledge_graph.graphml, de modo que un usuario pueda seguir el ejemplo e iniciar server.py sin el error indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- ai, documentation
- Tipo de issue
- Documentación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100