diff --git a/sdk/contentunderstanding/azure-ai-contentunderstanding/CHANGELOG.md b/sdk/contentunderstanding/azure-ai-contentunderstanding/CHANGELOG.md
index dd6a421cec16..afcf782c8bc3 100644
--- a/sdk/contentunderstanding/azure-ai-contentunderstanding/CHANGELOG.md
+++ b/sdk/contentunderstanding/azure-ai-contentunderstanding/CHANGELOG.md
@@ -8,8 +8,12 @@
### Bugs Fixed
+- Filtered service-emitted `LLMStats:` telemetry entries from the rendered `rai_warnings` front matter in `LlmInputHelper.toLlmInput`.
+
### Other Changes
+- Updated `LlmInputHelper.toLlmInput` page markers from `` to `` and avoided duplicate marker injection when the service markdown already includes `InputPageNumber` markers.
+
## 1.1.0-beta.1 (2026-05-01)
### Features Added
diff --git a/sdk/contentunderstanding/azure-ai-contentunderstanding/README.md b/sdk/contentunderstanding/azure-ai-contentunderstanding/README.md
index 8e7161193383..e8d6c848ce9c 100644
--- a/sdk/contentunderstanding/azure-ai-contentunderstanding/README.md
+++ b/sdk/contentunderstanding/azure-ai-contentunderstanding/README.md
@@ -165,7 +165,7 @@ If you encounter errors:
com.azure
azure-ai-contentunderstanding
- 1.0.0
+ 1.1.0-beta.2
```
[//]: # ({x-version-update-end})
@@ -439,7 +439,7 @@ fields:
figure illustrating monthly values, and describes the AI Document
Intelligence service...
---
-
+
# ==This is title==
## 1. Text
[Latin](https://en.wikipedia.org/wiki/Latin) refers to an ancient Italic language...
diff --git a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/main/java/com/azure/ai/contentunderstanding/LlmInputHelper.java b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/main/java/com/azure/ai/contentunderstanding/LlmInputHelper.java
index dba03f138d08..85bc967df7c0 100644
--- a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/main/java/com/azure/ai/contentunderstanding/LlmInputHelper.java
+++ b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/main/java/com/azure/ai/contentunderstanding/LlmInputHelper.java
@@ -58,6 +58,20 @@ public final class LlmInputHelper {
private static final Pattern PAGE_BREAK_PATTERN = Pattern.compile("\\n*\\n*");
+ // Marker emitted by toLlmInput at each page boundary. Future Content Understanding
+ // service versions emit this same marker directly in the returned markdown (per
+ // ContentUnderstanding-Docs#249). When the helper sees any occurrence of this
+ // prefix in the input markdown it treats the service as having already paginated
+ // the content and skips its own injection to avoid duplicate markers.
+ private static final String INPUT_PAGE_MARKER_PREFIX = "}) inserted at page boundaries so downstream consumers
- * can locate content by page number.
+ * ({@code }) inserted at page boundaries so downstream
+ * consumers can locate content by page number. If the service markdown already
+ * contains {@code \n\n");
+ sb.append(INPUT_PAGE_MARKER_PREFIX).append(' ').append(marker[1]).append(" -->\n\n");
prev = adj;
}
if (prev < cleaned.length()) {
@@ -565,7 +588,7 @@ private static String pageMarkersFromBreaks(String markdown, RenderableContent c
for (int i = 0; i < chunks.length; i++) {
String text = chunks[i].trim();
if (!text.isEmpty()) {
- parts.add("\n\n" + text);
+ parts.add(INPUT_PAGE_MARKER_PREFIX + " " + (startPage + i) + " -->\n\n" + text);
}
}
return String.join("\n\n", parts);
@@ -646,12 +669,20 @@ private static List