LarFii commited on
Commit
2ed0894
·
1 Parent(s): b198ec9

fix continue prompt format error

Browse files
Files changed (1) hide show
  1. lightrag/operate.py +1 -1
lightrag/operate.py CHANGED
@@ -404,7 +404,7 @@ async def extract_entities(
404
  language=language,
405
  )
406
 
407
- continue_prompt = PROMPTS["entity_continue_extraction"]
408
  if_loop_prompt = PROMPTS["entity_if_loop_extraction"]
409
 
410
  processed_chunks = 0
 
404
  language=language,
405
  )
406
 
407
+ continue_prompt = PROMPTS["entity_continue_extraction"].format(**context_base)
408
  if_loop_prompt = PROMPTS["entity_if_loop_extraction"]
409
 
410
  processed_chunks = 0