cleaned code
This commit is contained in:
parent
53384e9a46
commit
613b748dfa
1 changed files with 4 additions and 6 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue