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:
buua436
2026-05-09 14:29:09 +08:00
committed by GitHub
parent ee0de58204
commit de2abe9ed8
2 changed files with 3 additions and 2 deletions

View File

@@ -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>) => ({