mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix graphrag + infinity bugs (#3681)
### What problem does this PR solve? Fix graphrag + infinity bugs ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -59,8 +59,8 @@ class KGSearch(Dealer):
|
||||
q_vec = matchDense.embedding_data
|
||||
src = req.get("fields", ["docnm_kwd", "content_ltks", "kb_id", "img_id", "title_tks", "important_kwd",
|
||||
"doc_id", f"q_{len(q_vec)}_vec", "position_list", "name_kwd",
|
||||
"q_1024_vec", "q_1536_vec", "available_int", "content_with_weight",
|
||||
"weight_int", "weight_flt", "rank_int"
|
||||
"available_int", "content_with_weight",
|
||||
"weight_int", "weight_flt"
|
||||
])
|
||||
|
||||
fusionExpr = FusionExpr("weighted_sum", 32, {"weights": "0.5, 0.5"})
|
||||
|
||||
Reference in New Issue
Block a user