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,
file_exts=[
FileExtension.pdf,
FileExtension.docx,
FileExtension.doc,
FileExtension.pptx,
FileExtension.xls,
FileExtension.xlsx,
FileExtension.csv,
FileExtension.docx,
FileExtension.pptx,
FileExtension.epub,
FileExtension.bib,
FileExtension.odt,
FileExtension.html,
FileExtension.py,
FileExtension.markdown,
FileExtension.md,
FileExtension.mdx,
FileExtension.ipynb,
],
cls_mod="quivr_core.processor.implementations.megaparse_processor.MegaparseProcessor",
errtxt=f"can't import MegaparseProcessor. Please install quivr-core[{ext_str}] to access MegaparseProcessor",