We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a472a commit fb4fe72Copy full SHA for fb4fe72
.semversioner/next-release/patch-20250520214513426940.json
@@ -0,0 +1,4 @@
1
+{
2
+ "type": "patch",
3
+ "description": "Fix global search prompt to include missing formatting key"
4
+}
graphrag/query/structured_search/global_search/search.py
@@ -371,7 +371,9 @@ async def _reduce_response(
371
text_data = "\n\n".join(data)
372
373
search_prompt = self.reduce_system_prompt.format(
374
- report_data=text_data, response_type=self.response_type
+ report_data=text_data,
375
+ response_type=self.response_type,
376
+ max_length=self.reduce_max_length,
377
)
378
if self.allow_general_knowledge:
379
search_prompt += "\n" + self.general_knowledge_inclusion_prompt
0 commit comments