github Azure/azure-sdk-for-java com.azure+azure-ai-contentunderstanding_1.1.0-beta.2

pre-release6 hours ago

1.1.0-beta.2 (2026-06-11)

Features Added

  • DocumentSource now parses polygons with any number of points (three or more pairs) instead of requiring exactly four, and supports the page-only D(page) form. When only a page number is available, getPolygon() and getBoundingBox() return null.
  • Added Sample_Advanced_ContentSource and Sample_Advanced_ContentSourceAsync samples demonstrating how to read document grounding sources and render field highlight overlays.

Bugs Fixed

  • Filtered service-emitted LLMStats: telemetry entries from the rendered rai_warnings front matter in LlmInputHelper.toLlmInput.

Other Changes

  • Sample16_CreateAnalyzerWithLabels: aligned with the .NET parity sample. The labeled-receipt field schema now uses TotalPrice (was Total), and the sample supports auto-uploading the bundled label files via DefaultAzureCredential (Option B — set CONTENTUNDERSTANDING_TRAINING_DATA_STORAGE_ACCOUNT and CONTENTUNDERSTANDING_TRAINING_DATA_CONTAINER) in addition to the existing pre-generated SAS URL flow (Option A — CONTENTUNDERSTANDING_TRAINING_DATA_SAS_URL). When neither option is configured the sample now prints a clear DEMO MODE banner.
  • Updated LlmInputHelper.toLlmInput page markers from <!-- page N --> to <!-- InputPageNumber: N --> and avoided duplicate marker injection when the service markdown already includes InputPageNumber markers.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.