Fix JSON parsing error

This commit is contained in:
Larfii
2024-12-05 20:40:35 +08:00
parent 1e4e2ea4f3
commit 645890aff6

View File

@@ -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"]