You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhanced extraction for PDFs and images currently means Azure Document Intelligence prebuilt-layout. It preserves tables and selection marks, but it does not produce any image or figure analysis — which is the structure that matters most for PDFs and Office documents.
Azure AI Content Understanding (prebuilt-documentSearch) returns layout-aware markdown plus AI-generated descriptions of figures, charts, and diagrams, along with structured Chart.js/Mermaid output. Enhanced extraction should use it instead.
User Value
Workspace and chat documents that rely on charts, diagrams, screenshots, and figures become searchable and citable by what the figure actually shows, not just by whatever OCR text happens to sit inside it. Documents with tables and checkbox states keep the quality they have today.
Proposed Behavior
Standard extraction stays Document Intelligence prebuilt-read and remains required for workspaces and chat file uploads.
Enhanced extraction uses Content Understanding, gated behind a new Enable Enhanced extraction admin toggle that reveals the Content Understanding connection settings.
The existing Standard / Enhanced / Auto selector keeps working. Enabling Enhanced defaults the selector to Auto.
Auto keeps sampling the first pages with Document Intelligence Layout as the cheaper detector, and additionally upgrades to Enhanced when the sample contains figures or images, not just tables and selection marks.
Graceful degradation is required
Content Understanding is only available in Azure commercial regions — it is not offered in Azure Government. Enhanced must therefore never become a hard dependency:
In Azure Government and custom clouds, Enhanced automatically uses Document Intelligence Layout, and the admin UI should say so plainly rather than presenting configuration that cannot work.
If Content Understanding is enabled but unconfigured or unreachable, the document falls back to Document Intelligence Layout and the reason is recorded on the document.
Images inside Office files
Content Understanding accepts DOCX/DOC/PPTX as input, but its figure analysis only applies to PDFs and images. Embedded images should be pulled out of the OOXML package and analyzed separately with whichever engine backs the selected extraction mode, then indexed as their own citable chunks. Per-document cost needs bounding via a minimum image size, duplicate detection, and a cap.
Acceptance Criteria
Admin settings expose an Enable Enhanced extraction toggle plus Content Understanding endpoint, authentication type (key and managed identity), API version, and analyzer IDs.
A Test Connection button validates the endpoint, credentials, and analyzer before saving, and explains the common setup failures rather than surfacing raw HTTP errors.
An in-app guide covers Foundry resource creation, supported regions, required model deployment defaults, and the Cognitive Services User role.
The admin UI is environment-aware: Azure Public shows the Content Understanding configuration; Azure Government and custom clouds show that Enhanced uses Document Intelligence Layout and needs no configuration.
Enhanced falls back to Document Intelligence Layout on unsupported cloud, missing configuration, or request failure, with the reason recorded on the document and shown in workspace tooltips.
Auto mode upgrades to Enhanced when sampled pages contain tables, selection marks, or figures/images.
Images embedded in DOCX and PPTX are analyzed by the active engine and indexed as their own citable chunks, with size filtering, duplicate detection, and a per-document cap.
Existing deployments already set to Enhanced or Auto keep that behavior across the upgrade rather than silently downgrading to Standard.
Uploaded Office files are treated as untrusted input: no path traversal from archive entry names, bounded decompression, and hardened XML parsing.
Extraction badges and tooltips name the engine that actually ran, and the Change Extraction action covers images as well as PDFs.
Functional tests cover engine resolution and fallback, page reconstruction, figure handling, the upgrade migration, embedded image extraction, and the untrusted-archive defenses.
Notes and Constraints
Cost:prebuilt-documentSearch invokes a language model per document, so Enhanced is meaningfully more expensive than Document Intelligence Layout. Auto is the best default.
Setup: Content Understanding requires default completion and embedding model deployments on the Foundry resource; requests fail until those are set.
Compatibility: existing setting and per-document field names should be preserved so no Cosmos or search index migration is needed.
Summary
Enhanced extraction for PDFs and images currently means Azure Document Intelligence
prebuilt-layout. It preserves tables and selection marks, but it does not produce any image or figure analysis — which is the structure that matters most for PDFs and Office documents.Azure AI Content Understanding (
prebuilt-documentSearch) returns layout-aware markdown plus AI-generated descriptions of figures, charts, and diagrams, along with structured Chart.js/Mermaid output. Enhanced extraction should use it instead.User Value
Workspace and chat documents that rely on charts, diagrams, screenshots, and figures become searchable and citable by what the figure actually shows, not just by whatever OCR text happens to sit inside it. Documents with tables and checkbox states keep the quality they have today.
Proposed Behavior
prebuilt-readand remains required for workspaces and chat file uploads.Graceful degradation is required
Content Understanding is only available in Azure commercial regions — it is not offered in Azure Government. Enhanced must therefore never become a hard dependency:
Images inside Office files
Content Understanding accepts DOCX/DOC/PPTX as input, but its figure analysis only applies to PDFs and images. Embedded images should be pulled out of the OOXML package and analyzed separately with whichever engine backs the selected extraction mode, then indexed as their own citable chunks. Per-document cost needs bounding via a minimum image size, duplicate detection, and a cap.
Acceptance Criteria
Notes and Constraints
prebuilt-documentSearchinvokes a language model per document, so Enhanced is meaningfully more expensive than Document Intelligence Layout. Auto is the best default.Related