mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-09 00:25:46 +08:00
增加对 .htm 扩展名的显式支持
This commit is contained in:
parent
670131c886
commit
5460b93ba2
@ -85,7 +85,7 @@ def list_files_from_folder(kb_name: str):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
LOADER_DICT = {"UnstructuredHTMLLoader": ['.html'],
|
LOADER_DICT = {"UnstructuredHTMLLoader": ['.html', '.htm'],
|
||||||
"MHTMLLoader": ['.mhtml'],
|
"MHTMLLoader": ['.mhtml'],
|
||||||
"UnstructuredMarkdownLoader": ['.md'],
|
"UnstructuredMarkdownLoader": ['.md'],
|
||||||
"JSONLoader": [".json"],
|
"JSONLoader": [".json"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user