Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: add chunk_method field to document handler (#17154)

Haruko386294dff470174
diff --git a/internal/handler/document.go b/internal/handler/document.go
index 017e792445..fc73475bfa 100644
--- a/internal/handler/document.go
+++ b/internal/handler/document.go
@@ -1038,6 +1038,7 @@ func mapDocumentListItem(doc *entity.DocumentListItem, metaFields map[string]int
"run": mapRunStatus(doc.Run),
"status": stringValue(doc.Status),
"parser_id": doc.ParserID,
+ "chunk_method": doc.ParserID,
"pipeline_id": stringValue(doc.PipelineID),
"pipeline_name": stringValue(doc.PipelineName),
"nickname": stringValue(doc.Nickname),