mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 13:23:16 +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
|
||||
|
||||
|
||||
LOADER_DICT = {"UnstructuredHTMLLoader": ['.html'],
|
||||
LOADER_DICT = {"UnstructuredHTMLLoader": ['.html', '.htm'],
|
||||
"MHTMLLoader": ['.mhtml'],
|
||||
"UnstructuredMarkdownLoader": ['.md'],
|
||||
"JSONLoader": [".json"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user