mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Rename page_num_list, top_list, position_list (#3940)
### What problem does this PR solve? Rename page_num_list, top_list, position_list to page_num_int, top_int, position_int ### Type of change - [x] Refactoring
This commit is contained in:
@ -58,7 +58,7 @@ class KGSearch(Dealer):
|
||||
matchDense = self.get_vector(qst, emb_mdl, 1024, req.get("similarity", 0.1))
|
||||
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",
|
||||
"doc_id", f"q_{len(q_vec)}_vec", "position_int", "name_kwd",
|
||||
"available_int", "content_with_weight",
|
||||
"weight_int", "weight_flt"
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user