feat: add markdown file support (#202)

* feat: add support for .md

* fix: disable download all on private collection
This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin)
2024-09-03 23:15:26 +07:00
committed by GitHub
parent 4f0785773d
commit 607867d7e6
3 changed files with 8 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ from kotaemon.loaders import (
OCRReader,
PandasExcelReader,
PDFThumbnailReader,
TxtReader,
UnstructuredReader,
)
@@ -47,6 +48,8 @@ KH_DEFAULT_FILE_EXTRACTORS: dict[str, BaseReader] = {
".tiff": unstructured,
".tif": unstructured,
".pdf": PDFThumbnailReader(),
".txt": TxtReader(),
".md": TxtReader(),
}