Skip to content

Commit 5258bc5

Browse files
Fix/gleanings loop (#1564)
* Fix gleaning output parsing * Semver
1 parent a2647da commit 5258bc5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "patch",
3+
"description": "Fix gleanings loop check"
4+
}

graphrag/index/operations/extract_entities/graph_extractor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ async def _process_document(
179179
history=response.history,
180180
model_parameters=self._loop_args,
181181
)
182-
if response.output != "YES":
182+
183+
if response.output.content != "YES":
183184
break
184185

185186
return results

0 commit comments

Comments
 (0)