fix: supported extensions for megaparse (#3477)

This commit is contained in:
Chloé Daems 2024-11-14 17:02:35 +01:00 committed by GitHub
parent 175a1cd2dd
commit 72b979d4e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -125,21 +125,12 @@ def defaults_to_proc_entries(
mapping=base_processors, mapping=base_processors,
file_exts=[ file_exts=[
FileExtension.pdf, FileExtension.pdf,
FileExtension.docx,
FileExtension.doc,
FileExtension.pptx,
FileExtension.xls, FileExtension.xls,
FileExtension.xlsx, FileExtension.docx,
FileExtension.csv, FileExtension.pptx,
FileExtension.epub, FileExtension.epub,
FileExtension.bib,
FileExtension.odt, FileExtension.odt,
FileExtension.html, FileExtension.html,
FileExtension.py,
FileExtension.markdown,
FileExtension.md,
FileExtension.mdx,
FileExtension.ipynb,
], ],
cls_mod="quivr_core.processor.implementations.megaparse_processor.MegaparseProcessor", cls_mod="quivr_core.processor.implementations.megaparse_processor.MegaparseProcessor",
errtxt=f"can't import MegaparseProcessor. Please install quivr-core[{ext_str}] to access MegaparseProcessor", errtxt=f"can't import MegaparseProcessor. Please install quivr-core[{ext_str}] to access MegaparseProcessor",