Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 3 tasks
luneice opened this issue Jan 15, 2025 · 0 comments
Open
1 of 3 tasks
Labels
triage Default label assignment, indicates new issue needs reviewed by a maintainer

Comments

@luneice
Copy link

luneice commented Jan 15, 2025

Do you need to file an issue?

  • 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 luneice added the triage Default label assignment, indicates new issue needs reviewed by a maintainer label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Default label assignment, indicates new issue needs reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant