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 HTML parser treating an empty upload as a missing binary (#17904)
Yash Raj Pandey9ea83b7a9d00
diff --git a/deepdoc/parser/html_parser.py b/deepdoc/parser/html_parser.pyindex 4381086b37..1f0c5b3bb4 100644--- a/deepdoc/parser/html_parser.py+++ b/deepdoc/parser/html_parser.py@@ -36,7 +36,7 @@ TITLE_TAGS = {"h1": "#", "h2": "##", "h3": "###", "h4": "####", "h5": "#####", "class RAGFlowHtmlParser:def __call__(self, fnm, binary=None, chunk_token_num=512):- if binary:+ if binary is not None:encoding = find_codec(binary)txt = binary.decode(encoding, errors="ignore")else: