From 5460b93ba21824f1c168725758eb3def457aae21 Mon Sep 17 00:00:00 2001 From: Hans WAN Date: Tue, 6 Feb 2024 16:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=20.htm=20=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E5=90=8D=E7=9A=84=E6=98=BE=E5=BC=8F=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/knowledge_base/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/knowledge_base/utils.py b/server/knowledge_base/utils.py index 3a8c701b..f2ddbfd0 100644 --- a/server/knowledge_base/utils.py +++ b/server/knowledge_base/utils.py @@ -85,7 +85,7 @@ def list_files_from_folder(kb_name: str): return result -LOADER_DICT = {"UnstructuredHTMLLoader": ['.html'], +LOADER_DICT = {"UnstructuredHTMLLoader": ['.html', '.htm'], "MHTMLLoader": ['.mhtml'], "UnstructuredMarkdownLoader": ['.md'], "JSONLoader": [".json"],