Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Knowledge Graph Rag (Community) - Steps Missing

Aberta
#281 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
38/100
Tipo de issue
Documentação
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
ai, documentation

Direção de pesquisa

Leia as instruções de Community Graph RAG em torno das etapas 6 e 7 e, em seguida, inspecione community/knowledge_graph_rag/backend/server.py e o utils/lc_graph.py mencionado. Documente o pré-requisito ou a etapa de geração ausente para knowledge_graph.graphml, para que um usuário possa seguir o exemplo e iniciar server.py sem o erro relatado.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Jupyter Notebook
Estrelas
4.2k
Forks
1.1k
Merge médio
10h 15min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NVIDIA/GenerativeAIExamples

Todas as issues de NVIDIA/GenerativeAIExamples

Issues semelhantes

Mais issues de AI Infra & Agents

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.