microsoft / graphrag

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

[Issue]: <title> How many prompts are there in total in this GraphRAG? #625

Closed Trip1ewhy closed 4 months ago

Trip1ewhy commented 4 months ago

Describe the issue

Except for the 4 prompts in the /ragtest, I found 12 more prompts, while some of them are kind of same as the prompts in the /ragtest

AlonsoGuevara commented 4 months ago

Hi! For indexing we make use of 4 main prompts, indeed. There are a couple more, here and there, but mainly for supporting gleanings and json cleanup. For querying, we have 3 prompts. For prompt tuning, we use 12 prompts.