microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
17.75k stars 1.7k forks source link

[Issue]: <title> 输出结果是否可以定制化 #1202

Open jiangyong07 opened 1 week ago

jiangyong07 commented 1 week ago

Do you need to file an issue?

Describe the issue

用了几次,感觉graphrag功能非常强大。但处理长文本的时候,时间花费很多,而我需要的资料相对具体。比如,我只需要某个人的相关信息:像是籍贯、生卒年、亲属关系、社会关系等。是否可以通过改写Prompt来实现定制化的输出?这样也可以节省很多时间和算力。如果可以,程序中的4个prompt该如何改写呢?

Steps to reproduce

No response

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information