mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 07:59:00 +03:00
fix: supported extensions for megaparse (#3477)
This commit is contained in:
parent
175a1cd2dd
commit
72b979d4e4
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user