Skip to content

fix: update default Document Intelligence API version to 2024-11-30#1669

Open
octo-patch wants to merge 1 commit intomicrosoft:mainfrom
octo-patch:fix/issue-1473-doc-intel-api-version
Open

fix: update default Document Intelligence API version to 2024-11-30#1669
octo-patch wants to merge 1 commit intomicrosoft:mainfrom
octo-patch:fix/issue-1473-doc-intel-api-version

Conversation

@octo-patch
Copy link
Copy Markdown

Fixes #1473

Problem

The default api_version in DocumentIntelligenceConverter was hardcoded to "2024-07-31-preview", which is an outdated preview version that is not compatible with Azure AI Foundry Document Intelligence service endpoints.

The Azure AI Document Intelligence SDK's own default is "2024-11-30", but markitdown was overriding it with the older preview version. This caused failures when users tried to use markitdown with Azure AI Foundry endpoints without explicitly specifying docintel_api_version.

Solution

Update the default api_version from "2024-07-31-preview" to "2024-11-30" (the GA stable version). This version is compatible with both classic Azure Document Intelligence endpoints and Azure AI Foundry service endpoints.

Testing

The change is a one-line default value update. Users who need the older preview version can still pass docintel_api_version="2024-07-31-preview" explicitly. No behavioral changes for users who already specify their api_version.

…ixes microsoft#1473)

The default API version was set to the outdated preview 2024-07-31-preview,
which is incompatible with Azure AI Foundry Document Intelligence endpoints.
Update the default to 2024-11-30 (GA), which is the stable version compatible
with both classic and Azure AI Foundry service endpoints.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default Document Intelligence API version, not compatible with Azure AI Foundry service endpoints

1 participant