Skip to content

HakjunMIN/graphrag-playground

Repository files navigation

GraphRAG playground

Get started

  1. 환경설정
mv .env.sample .env
  1. 패키지설치
pip install -r requirement
  1. GraphRAG프로젝트 생성

    • 초기화
    graphrag init --root ./ragtest
  2. settings.yaml 설정

    • Azure용 설정파일 복사
      cp .env ./ragtest
      cp settings.yaml ./ragtest
    • 클레임 추출 enable 확인
          claim_extraction:
              enabled: false
  3. 인덱싱 데이터 준비 및 인덱싱

    mkdir -p ragtest/input && cp data/wing.txt ragtest/input
    
    graphrag index --root ./ragtest
  4. Knowledge 그래프 시각화

    graph 노트북 - graphrag-visualization

  5. Query 실행

    노트북 - graphrag_index_query

Neo4j Cypher쿼리 생성 예제

graphrag_neo4j

## Reference

* GraphRAG PodCast Demo: https://unified-copilot.azurewebsites.net/
* Graph Builder: 
https://neo4j.com/developer-blog/graphrag-llm-knowledge-graph-builder/
https://llm-graph-builder.neo4jlabs.com/
https://neo4j.com/blog/graphrag-manifesto/

* GraphRAG Accelerator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published