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: exception layout_type in is_caption (#9028)
Yongteng Lei2ae8f2cf00ae
diff --git a/deepdoc/vision/table_structure_recognizer.py b/deepdoc/vision/table_structure_recognizer.pyindex 470abc3b6d..26b182e102 100644--- a/deepdoc/vision/table_structure_recognizer.py+++ b/deepdoc/vision/table_structure_recognizer.py@@ -97,7 +97,7 @@ class TableStructureRecognizer(Recognizer):r"[图表]+[ 0-9::]{2,}"]if any([re.match(p, bx["text"].strip()) for p in patt]) \- or bx["layout_type"].find("caption") >= 0:+ or bx.get("layout_type", "").find("caption") >= 0:return Truereturn False