graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Issue]: Problems with DRIFT_PRIMER_PROMPT and DRIFT_LOCAL_SYSTEM_PROMPT using DRIFT search.

Open luneice opened this issue 11 months ago • 0 comments

Do you need to file an issue?

  • [x] I have searched the existing issues and this bug is not already filed.
  • [ ] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
  • [ ] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the issue

In the file graphrag/prompts/query/drift_search_system_prompt.py, there are the following three prompts: DRIFT_LOCAL_SYSTEM_PROMPT = """""" DRIFT_REDUCE_PROMPT = """""" DRIFT_PRIMER_PROMPT = """""" I found that DRIFT_REDUCE_PROMPT is not used in the code. What is the relationship between DRIFT_PRIMER_PROMPT and DRIFT_LOCAL_SYSTEM_PROMPT? How should I modify them so that the final output meets my requirements? Because I found that when I modify the content in DRIFT_LOCAL_SYSTEM_PROMPT, the final output format does not output as expected.

Steps to reproduce

No response

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

luneice avatar Jan 15 '25 08:01 luneice