RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: Correct PDF chunking parameter name in naive (#13357)
Magicbook110893d621a66618
diff --git a/rag/app/naive.py b/rag/app/naive.pyindex 22606c3b32..e7f6730d80 100644--- a/rag/app/naive.py+++ b/rag/app/naive.py@@ -252,7 +252,7 @@ PARSERS = {"deepdoc": by_deepdoc,"mineru": by_mineru,"docling": by_docling,- "tcadp": by_tcadp,+ "tcadp parser": by_tcadp,"paddleocr": by_paddleocr,"plaintext": by_plaintext, # default}@@ -854,7 +854,7 @@ def chunk(filename, binary=None, from_page=0, to_page=100000, lang="Chinese", caurls = extract_links_from_pdf(binary)if isinstance(layout_recognizer, bool):- layout_recognizer = "DeepDOC" if layout_recognizer else "Plain Text"+ layout_recognizer = "DeepDOC" if layout_recognizer else "PlainText"name = layout_recognizer.strip().lower()parser = PARSERS.get(name, by_plaintext)