Fix JSON parsing error
This commit is contained in:
parent
1e4e2ea4f3
commit
645890aff6
1 changed files with 0 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue