Expand OCR provider support and refresh benchmarking/docs - #20
Merged
Conversation
Keep the top-level package focused on the main OCR API surface. BREAKING CHANGE: import HFChatTemplate and OCRPromptTemplate from churro_ocr.templates instead of churro_ocr.
Standardize the primary install flow on plus direct commands. Also document PDF/all runtime targets and refresh the provider guide for the newer template and prompt helper exports.
Align the docs home, getting-started flow, CLI guide, and task pages around one local HF quick-start. Split advanced provider customization into a dedicated guide and keep providers focused on runtime and backend choice.
Document the Python 3.12+ version requirement and require docs review plus relevant Pixi checks after changes.
Replace the earlier MinerU integration with the MinerU2.5 two-step pipeline for both Hugging Face and openai-compatible/vLLM providers. Add the supporting prompts, templates, CLI wiring, evaluation normalization, documentation, and regression coverage for the new backend flow.
…ompatible backends
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR expands Churro's built-in OCR coverage, improves leaderboard and benchmarking ergonomics, and refreshes the docs/onboarding flow.
What changed
reasoning_effortsupport forlitellmandopenai-compatiblebenchmarking, handle timed-out OCR pages more gracefully, close cached LiteLLM async clients, and tighten retry timeout behaviorBreaking changes
churro_ocr; importHFChatTemplateandOCRPromptTemplatefromchurro_ocr.templatesinstead