yangdx
commited on
Commit
·
a726a93
1
Parent(s):
e8f9a30
Add logging for high and low-level keywords
Browse files- lightrag/operate.py +3 -0
lightrag/operate.py
CHANGED
@@ -589,6 +589,9 @@ async def kg_query(
|
|
589 |
query, query_param, global_config, hashing_kv
|
590 |
)
|
591 |
|
|
|
|
|
|
|
592 |
# Handle empty keywords
|
593 |
if hl_keywords == [] and ll_keywords == []:
|
594 |
logger.warning("low_level_keywords and high_level_keywords is empty")
|
|
|
589 |
query, query_param, global_config, hashing_kv
|
590 |
)
|
591 |
|
592 |
+
logger.info(f"High-level keywords: {hl_keywords}")
|
593 |
+
logger.info(f"Low-level keywords: {ll_keywords}")
|
594 |
+
|
595 |
# Handle empty keywords
|
596 |
if hl_keywords == [] and ll_keywords == []:
|
597 |
logger.warning("low_level_keywords and high_level_keywords is empty")
|