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
doc(cli): support boolean client-side output generation option
myhlolic9f223d7fa48
diff --git a/docs/en/usage/cli_tools.md b/docs/en/usage/cli_tools.mdindex 66142060..01d93c1f 100644--- a/docs/en/usage/cli_tools.md+++ b/docs/en/usage/cli_tools.md@@ -21,6 +21,10 @@ Options:-e, --end INTEGER Ending page number for parsing (0-based)-f, --formula BOOLEAN Enable formula parsing (default: enabled)-t, --table BOOLEAN Enable table parsing (default: enabled)+ --client-side-output-generation BOOLEAN+ Generate Markdown and content lists locally+ from server-returned middle JSON, images, and+ original files (default: disabled)--help Show help information```> [!TIP]@@ -59,6 +63,9 @@ Options:starts a reusable local mineru-api service.--enable-vlm-preload BOOLEAN Preload the local VLM model when gradiostarts a local mineru-api service.+ --client-side-output-generation BOOLEAN+ Generate Markdown and content lists locally+ from server-returned middle JSON.--latex-delimiters-type [a|b|all]Set the type of LaTeX delimiters to use inMarkdown rendering: 'a' for type '$', 'b' fordiff --git a/docs/zh/usage/cli_tools.md b/docs/zh/usage/cli_tools.mdindex 489b1476..e99d780b 100644--- a/docs/zh/usage/cli_tools.md+++ b/docs/zh/usage/cli_tools.md@@ -21,6 +21,9 @@ Options:-e, --end INTEGER 结束解析的页码(从 0 开始)-f, --formula BOOLEAN 是否启用公式解析(默认开启)-t, --table BOOLEAN 是否启用表格解析(默认开启)+ --client-side-output-generation BOOLEAN+ 在客户端基于服务端返回的 middle JSON、图片与原文件+ 生成 Markdown 和 content list(默认关闭)--help 显示帮助信息```> [!TIP]@@ -54,6 +57,9 @@ Options:mineru-api--enable-vlm-preload BOOLEAN 在 Gradio 拉起本地 mineru-api 时预加载本地VLM 模型+ --client-side-output-generation BOOLEAN+ 在客户端基于服务端返回的 middle JSON 生成 Markdown+ 和 content list--latex-delimiters-type [a|b|all]设置在 Markdown 渲染中使用的 LaTeX 分隔符类型('a' 表示 '$' 类型,'b' 表示 '()[]' 类型,diff --git a/mineru/cli/client.py b/mineru/cli/client.pyindex 0af1f7d6..3ed3a28d 100644--- a/mineru/cli/client.py+++ b/mineru/cli/client.py@@ -1128,7 +1128,7 @@ async def run_orchestrated_cli(@click.option("--client-side-output-generation","client_side_output_generation",- is_flag=True,+ type=bool,default=False,help=("Generate markdown and content lists locally from server-returned "