Skip to content

Commit 0ca819d

Browse files
committed
Fix JSON parsing error
1 parent 570790c commit 0ca819d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lightrag/operate.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,6 @@ async def kg_query(
486486

487487
hl_keywords = keywords_data.get("high_level_keywords", [])
488488
ll_keywords = keywords_data.get("low_level_keywords", [])
489-
490-
return hl_keywords, ll_keywords
491489
else:
492490
logger.error("No JSON-like structure found in the result.")
493491
return PROMPTS["fail_response"]

0 commit comments

Comments
 (0)