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: update s3 offset
许瑞ab72dc265250
diff --git a/magic_pdf/cli/magicpdf.py b/magic_pdf/cli/magicpdf.pyindex 51111432..fc3a5598 100644--- a/magic_pdf/cli/magicpdf.py+++ b/magic_pdf/cli/magicpdf.py@@ -105,6 +105,7 @@ def json_command(json, method):byte_start, byte_end = 0, Noneelse:byte_start, byte_end = int(may_range_params[0]), int(may_range_params[1])+ byte_end += byte_start - 1return s3_rw.read_jsonl(remove_non_official_s3_args(s3path), byte_start, byte_end, MODE_BIN)