fix continue prompt format error
Browse files- 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
|