Skip to content

shijiahao314/graphrag-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphRAG-Go

使用 Go 提供 GraphRAG API 服务

1.安装 GraphRAG(0.5.0) 环境

官方网站:GraphRAG

创建 conda 环境

# conda env remove -n graphrag-go
conda create -n graphrag-go python=3.12 -y
conda activate graphrag-go
pip install graphrag
pip install ollama
# python server: ner, kgc, kge
pip install hanlp fastapi uvicorn
pip install pykeen wandb

# utils
pip install PyPDF2 python-docx

2.修改本地 conda 环境 graphrrag 包源代码

参考 change/README.md

3.测试

参考 kb/README.md

4.运行服务

go run main.go

5.测试 API

参考 internal/api/README.md

About

使用Go包装GraphRAG,提供后端服务

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published