Skip to content

Commit

Permalink
fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
joerattazzi-microsoft committed Feb 14, 2025
1 parent 36f60d1 commit 974cf07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphrag/index/update/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def process_in_batches(df, batch_size):
for start in range(0, len(df), batch_size):
end = start + batch_size
batch = df.iloc[start:end]
tasks = [process_row(row) for row in entities_df.itertuples(index=False, name="Entity")]
tasks = [process_row(row) for row in batch.itertuples(index=False, name="Entity")]
batch_results = await asyncio.gather(*tasks)
results.extend(batch_results)
batch_num += 1
Expand Down

0 comments on commit 974cf07

Please sign in to comment.