feat: update hybrid parsing effort descriptions for clarity and accuracy

This commit is contained in:
myhloli
2026-06-11 18:51:43 +08:00
parent 52c3492a0d
commit 2e2a4c12c8
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -125,8 +125,8 @@ async def parse_request_form(
str,
Form(
description="""(Adapted only for hybrid backend) Hybrid parsing effort:
- medium: Fast hybrid parsing, equivalent to the previous fast hybrid behavior.
- high: High-effort hybrid parsing, equivalent to the previous hybrid behavior.""",
- medium: Faster parsing for most documents, balancing accuracy and efficiency. Image/chart analysis is disabled.
- high: Higher-accuracy parsing with image/chart analysis support, which may take longer.""",
json_schema_extra=HYBRID_EFFORT_SCHEMA_EXTRA,
),
] = DEFAULT_HYBRID_EFFORT,
+2 -2
View File
@@ -1087,8 +1087,8 @@ async def run_orchestrated_cli(
metavar="[" + "|".join(HYBRID_EFFORT_CHOICES) + "]",
help="""\b
Hybrid parsing effort:
medium: Fast hybrid parsing, equivalent to the previous fast hybrid behavior.
high: High-effort hybrid parsing, equivalent to the previous hybrid behavior.
medium: Faster parsing for most documents, balancing accuracy and efficiency. Image/chart analysis is disabled.
high: Higher-accuracy parsing with image/chart analysis support, which may take longer.
Without effort specified, medium will be used by default.
Adapted only for the case where the backend is set to 'hybrid-*'.""",
)