Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat(UNIPipe): change default drop_mode to NONE_WITH_REASON
myhloli23b621e05a6c
diff --git a/magic_pdf/pipe/UNIPipe.py b/magic_pdf/pipe/UNIPipe.pyindex e13d1def..226ae48f 100644--- a/magic_pdf/pipe/UNIPipe.py+++ b/magic_pdf/pipe/UNIPipe.py@@ -47,7 +47,7 @@ class UNIPipe(AbsPipe):start_page_id=self.start_page_id, end_page_id=self.end_page_id,lang=self.lang)- def pipe_mk_uni_format(self, img_parent_path: str, drop_mode=DropMode.WHOLE_PDF):+ def pipe_mk_uni_format(self, img_parent_path: str, drop_mode=DropMode.NONE_WITH_REASON):result = super().pipe_mk_uni_format(img_parent_path, drop_mode)logger.info("uni_pipe mk content list finished")return result