mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Add bce-embedding and fastembed (#383)
### What problem does this PR solve? Issue link:#326 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -46,7 +46,7 @@ class Dealer:
|
||||
"k": topk,
|
||||
"similarity": sim,
|
||||
"num_candidates": topk * 2,
|
||||
"query_vector": list(qv)
|
||||
"query_vector": [float(v) for v in qv]
|
||||
}
|
||||
|
||||
def search(self, req, idxnm, emb_mdl=None):
|
||||
|
||||
Reference in New Issue
Block a user