8000 GitHub - JesmonX/PG-RAG
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JesmonX/PG-RAG

Repository files navigation

需要conda activate gr 和 ollama serve(如果address already in use就是已经开了)

graphrag index构建

将input的txt复制到graphrag/ragtest/preinput

bash index.sh

如果数据不是类似患者,年龄,地址,症状,诊断结果的内容,则需要取消index.sh#python -m graphrag.prompt_tune --root ./ragtest/的注释,以重新构建提示词。

graphrag query

bash query.sh global/local 问题内容

其他

可以在graphrag/ragtest/settings.yaml中更改LLM和emb model。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0