Skip to content

Commit 9a3a489

Browse files
Update remaining page marker references in JS sample and README
1 parent 72ed27f commit 9a3a489

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/contentunderstanding/ai-content-understanding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ console.log(text);
364364
// figure illustrating monthly values, and describes the AI Document
365365
// Intelligence service...
366366
// ---
367-
// <!-- page 1 -->
367+
// <!-- InputPageNumber: 1 -->
368368
// # ==This is title==
369369
// ## 1. Text
370370
// [Latin](https://en.wikipedia.org/wiki/Latin) refers to an ancient Italic language...

sdk/contentunderstanding/ai-content-understanding/samples/v1-beta/javascript/toLlmInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async function main() {
112112
// Analyze specific pages using contentRange.
113113
// Page markers in the output will use the original document page numbers,
114114
// so even though we only requested pages 2-3 and 5, the markers will say
115-
// <!-- page 2 -->, <!-- page 3 -->, <!-- page 5 --> (not 1, 2, 3).
115+
// <!-- InputPageNumber: 2 -->, <!-- InputPageNumber: 3 -->, <!-- InputPageNumber: 5 --> (not 1, 2, 3).
116116
console.log("Analyzing pages 2-3 and 5 of a multi-page PDF...");
117117
console.log(` URL: ${multiPageUrl}`);
118118
console.log(" contentRange: '2-3,5'\n");

0 commit comments

Comments
 (0)