mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
add search TAB backend api (#2375)
### What problem does this PR solve? #2247 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -23,7 +23,7 @@ from rag.nlp.search import Dealer
|
||||
|
||||
|
||||
class KGSearch(Dealer):
|
||||
def search(self, req, idxnm, emb_mdl=None):
|
||||
def search(self, req, idxnm, emb_mdl=None, highlight=False):
|
||||
def merge_into_first(sres, title=""):
|
||||
df,texts = [],[]
|
||||
for d in sres["hits"]["hits"]:
|
||||
|
||||
Reference in New Issue
Block a user