mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-04 14:50:30 +08:00
Fix: tag parser id (#14724)
### What problem does this PR solve? tag parser id ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -121,6 +121,7 @@ const mapDocumentToLegacy = (doc: Record<string, any>) => ({
|
||||
...doc,
|
||||
chunk_num: doc.chunk_num ?? doc.chunk_count,
|
||||
kb_id: doc.kb_id || doc.dataset_id,
|
||||
parser_id: doc.parser_id || doc.chunk_method,
|
||||
});
|
||||
|
||||
const mapChunkPayloadToRest = (payload: Record<string, any>) => ({
|
||||
|
||||
Reference in New Issue
Block a user