cleaned code
This commit is contained in:
@@ -640,15 +640,13 @@ async def kg_query(
|
|||||||
)
|
)
|
||||||
query_param.mode = "local"
|
query_param.mode = "local"
|
||||||
|
|
||||||
ll_keywords = ", ".join(ll_keywords) if ll_keywords else ""
|
ll_keywords_str = ", ".join(ll_keywords) if ll_keywords else ""
|
||||||
hl_keywords = ", ".join(hl_keywords) if hl_keywords else ""
|
hl_keywords_str = ", ".join(hl_keywords) if hl_keywords else ""
|
||||||
|
|
||||||
logger.info("Using %s mode for query processing", query_param.mode)
|
|
||||||
|
|
||||||
# Build context
|
# Build context
|
||||||
context = await _build_query_context(
|
context = await _build_query_context(
|
||||||
ll_keywords,
|
ll_keywords_str,
|
||||||
hl_keywords,
|
hl_keywords_str,
|
||||||
knowledge_graph_inst,
|
knowledge_graph_inst,
|
||||||
entities_vdb,
|
entities_vdb,
|
||||||
relationships_vdb,
|
relationships_vdb,
|
||||||
|
Reference in New Issue
Block a user