docs: add Cohere Parse v5 OCR support for cohere and azure_ai - #1395
Draft
devin-ai-integration[bot] wants to merge 2 commits into
Draft
docs: add Cohere Parse v5 OCR support for cohere and azure_ai#1395devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Draft until litellm v1.101.0 is GA. Cohere Parse support is currently only in
v1.101.0-rc.1andv1.102.0-dev.1; the latest stable tagv1.100.0does not contain itCohere Parse v5 shipped in litellm (BerriAI/litellm commit 8426235290) for both
cohere/parse-v5.0andazure_ai/Cohere-parse-v5, but the docs never mentioned it.docs/ocr.mdstill listed onlymistral,azure_ai,vertex_aiand there was no Cohere Parse page, so a customer asked whether it was supported at allThis adds a
Parse (OCR)section toproviders/cohere.md, aCohere Parsesection toproviders/azure_ocr.md(retitled from "Azure AI OCR (Mistral)" since it now covers two backends), and listscoherein the/ocrprovider tablesBehavior documented from the litellm source rather than the Cohere blog: image-only input (
image_urlURL or data URI, no PDF),output_formatmarkdown/blocks,req_format=native, $0.0015/page cost, and base64 inlining on Azure. The azure_ai section also calls out that routing is by substring match onlitellm_params.model(cohereandparseboth required), since a differently named Foundry deployment silently falls through to the Mistral OCR routenpm run buildpassesLink to Devin session: https://app.devin.ai/sessions/b4c8758deac0446f960bee27bb76d56a
Open in Devin Desktop: https://app.devin.ai/desktop/session/b4c8758deac0446f960bee27bb76d56a?variant=devin