Skip to content

Commit

Permalink
Fix JSON parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
LarFii committed Dec 5, 2024
1 parent 570790c commit 0ca819d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lightrag/operate.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,6 @@ async def kg_query(

hl_keywords = keywords_data.get("high_level_keywords", [])
ll_keywords = keywords_data.get("low_level_keywords", [])

return hl_keywords, ll_keywords
else:
logger.error("No JSON-like structure found in the result.")
return PROMPTS["fail_response"]
Expand Down

0 comments on commit 0ca819d

Please sign in to comment.