mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
enlarge the default token length of RAPTOR summarization (#3454)
### What problem does this PR solve? #3426 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -68,7 +68,7 @@ class KGSearch(Dealer):
|
||||
|
||||
ent_res = self.dataStore.search(src, list(), condition, [matchText, matchDense, fusionExpr], OrderByExpr(), 0, 32, idxnm, kb_ids)
|
||||
ent_res_fields = self.dataStore.getFields(ent_res, src)
|
||||
entities = [d["name_kwd"] for d in ent_res_fields.values()]
|
||||
entities = [d.get["name_kwd"] for d in ent_res_fields.values() if d.get("name_kwd")]
|
||||
ent_ids = self.dataStore.getChunkIds(ent_res)
|
||||
ent_content = merge_into_first(ent_res_fields, "-Entities-")
|
||||
if ent_content:
|
||||
|
||||
Reference in New Issue
Block a user