From 72b979d4e4d6e6efc45d47c7aba942eb909adc3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Daems?= <73901882+chloedia@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:02:35 +0100 Subject: [PATCH] fix: supported extensions for megaparse (#3477) --- core/quivr_core/processor/registry.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/core/quivr_core/processor/registry.py b/core/quivr_core/processor/registry.py index 860c4d23e..4be8af8ca 100644 --- a/core/quivr_core/processor/registry.py +++ b/core/quivr_core/processor/registry.py @@ -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",