Skip to content

fix: update Azure Document Intelligence to use prebuilt-layout#1214

Merged
MODSetter merged 1 commit intoMODSetter:devfrom
AnishSarkar22:fix/azure-document-intelligence
Apr 10, 2026
Merged

fix: update Azure Document Intelligence to use prebuilt-layout#1214
MODSetter merged 1 commit intoMODSetter:devfrom
AnishSarkar22:fix/azure-document-intelligence

Conversation

@AnishSarkar22
Copy link
Copy Markdown
Contributor

@AnishSarkar22 AnishSarkar22 commented Apr 10, 2026

Description

  • Now Azure Document Intelligence use prebuilt-layout model instead of prebuilt-read. Now it preserves layout and structures in markdown.

Motivation and Context

FIX #

Screenshots

API Changes

  • This PR includes API changes

Change Type

  • Bug fix
  • New feature
  • Performance improvement
  • Refactoring
  • Documentation
  • Dependency/Build system
  • Breaking change
  • Other (specify):

Testing Performed

  • Tested locally
  • Manual/QA verification

Checklist

  • Follows project coding standards and conventions
  • Documentation updated as needed
  • Dependencies updated as needed
  • No lint/build errors or new warnings
  • All relevant tests are passing

High-level PR Summary

This PR updates the Azure Document Intelligence parser to use the prebuilt-layout model instead of prebuilt-read when analyzing documents. This is a straightforward configuration change that switches to a different prebuilt model, likely to gain access to more advanced layout analysis capabilities.

⏱️ Estimated Review Time: 5-15 minutes

💡 Review Order Suggestion
Order File Path
1 surfsense_backend/app/etl_pipeline/parsers/azure_doc_intelligence.py

Need help? Join our Discord

Analyze latest changes

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

@AnishSarkar22 is attempting to deploy a commit to the Rohan Verma's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown

@recurseml recurseml bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review by RecurseML

🔍 Review performed on 649f315..bb5b90e

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (1)

surfsense_backend/app/etl_pipeline/parsers/azure_doc_intelligence.py

@AnishSarkar22 AnishSarkar22 marked this pull request as ready for review April 10, 2026 16:00
Copy link
Copy Markdown

@recurseml recurseml bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review by RecurseML

🔍 Review performed on bb5b90e..bb5b90e

✨ No files to analyze

@MODSetter MODSetter merged commit 7ec2973 into MODSetter:dev Apr 10, 2026
15 of 18 checks passed
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.

2 participants