You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prompt quality is one of the most important factors in GraphRAG. However, it seems that many developers do not give enough consideration to the quality of the prompts. The local_search_system_prompt and global_search_system_prompt have remained unchanged since the release of GraphRAG.
There are several inaccuracies in the prompts:
Improper delimiter: The --- delimiter is not recommended by OpenAI. Instead, it is suggested to use """. OpenAI Prompt Engineering.
Unclear/Inconsistent references:
In the local search prompt, terms like "Data Table" (referring to the data in the tables) and "response length and format" (referring to the target response length and format) lack clarity and consistency.
In the global search prompt, references like "analysts" (referring to analyst reports) and "a dataset" are similarly vague and need more precise definitions.
The lower the tier of the LLM, the higher the demand for prompt accuracy in more difficult tasks; conversely, the higher the tier, the less strict the requirement for prompt accuracy in such tasks. Local search and global search are difficult tasks in GraphRAG, so I think the prompts need to be updated and improved.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Prompt quality is one of the most important factors in GraphRAG. However, it seems that many developers do not give enough consideration to the quality of the prompts. The
local_search_system_prompt
andglobal_search_system_prompt
have remained unchanged since the release of GraphRAG.There are several inaccuracies in the prompts:
Improper delimiter: The
---
delimiter is not recommended by OpenAI. Instead, it is suggested to use"""
. OpenAI Prompt Engineering.Unclear/Inconsistent references:
The lower the tier of the LLM, the higher the demand for prompt accuracy in more difficult tasks; conversely, the higher the tier, the less strict the requirement for prompt accuracy in such tasks. Local search and global search are difficult tasks in GraphRAG, so I think the prompts need to be updated and improved.
Beta Was this translation helpful? Give feedback.
All reactions