mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-19 09:30:53 +08:00
feat: update backend options in CLI tools to include hybrid-flash-engine as default
This commit is contained in:
@@ -12,8 +12,8 @@ Options:
|
||||
-o, --output PATH Output directory (required)
|
||||
--api-url TEXT MinerU FastAPI base URL; if omitted, `mineru` starts a temporary local `mineru-api`
|
||||
-m, --method [auto|txt|ocr] Parsing method: auto (default), txt, ocr (pipeline and hybrid* backend only)
|
||||
-b, --backend [pipeline|hybrid-engine|hybrid-http-client|vlm-engine|vlm-http-client]
|
||||
Parsing backend (default: hybrid-engine)
|
||||
-b, --backend [pipeline|vlm-engine|hybrid-engine|hybrid-flash-engine|vlm-http-client|hybrid-http-client|hybrid-flash-http-client]
|
||||
Parsing backend (default: hybrid-flash-engine)
|
||||
-l, --lang [ch|ch_server|ch_lite|en|korean|japan|chinese_cht|ta|te|ka|th|el|latin|arabic|east_slavic|cyrillic|devanagari]
|
||||
Specify document language (improves OCR accuracy, pipeline and hybrid* backend only)
|
||||
-u, --url TEXT OpenAI-compatible backend URL passed through to the server when using http-client
|
||||
|
||||
@@ -12,8 +12,8 @@ Options:
|
||||
-o, --output PATH 输出目录(必填)
|
||||
--api-url TEXT MinerU FastAPI 服务地址;不传时自动拉起本地临时 mineru-api
|
||||
-m, --method [auto|txt|ocr] 解析方法:auto(默认)、txt、ocr(仅用于 pipeline 与 hybrid* 后端)
|
||||
-b, --backend [pipeline|hybrid-engine|hybrid-http-client|vlm-engine|vlm-http-client]
|
||||
解析后端(默认为 hybrid-engine)
|
||||
-b, --backend [pipeline|vlm-engine|hybrid-engine|hybrid-flash-engine|vlm-http-client|hybrid-http-client|hybrid-flash-http-client]
|
||||
解析后端(默认为 hybrid-flash-engine)
|
||||
-l, --lang [ch|ch_server|ch_lite|en|korean|japan|chinese_cht|ta|te|ka|th|el|latin|arabic|east_slavic|cyrillic|devanagari]
|
||||
指定文档语言(可提升 OCR 准确率,仅用于 pipeline 与 hybrid* 后端)
|
||||
-u, --url TEXT 当使用 http-client 时,传给服务端后端的 OpenAI 兼容地址
|
||||
|
||||
@@ -1059,7 +1059,7 @@ async def run_orchestrated_cli(
|
||||
hybrid-flash-engine: Hybrid flash mode via local computing power.
|
||||
hybrid-http-client: High accuracy but requires a little local computing power(client suitable for openai-compatible servers).
|
||||
hybrid-flash-http-client: Hybrid flash mode via remote computing power(client suitable for openai-compatible servers).
|
||||
Without method specified, hybrid-engine will be used by default.""",
|
||||
Without backend specified, hybrid-flash-engine will be used by default.""",
|
||||
)
|
||||
@click.option(
|
||||
"-l",
|
||||
|
||||
Reference in New Issue
Block a user