Skip to content

Commit 2b2e177

Browse files
authored
Merge pull request #194059 from jaep3347/main
Updatedfunction name
2 parents cee2de9 + 131215c commit 2b2e177

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/applied-ai-services/form-recognizer/quickstarts/try-v3-javascript-sdk.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Extract text, tables, structure, key-value pairs, and named entities from docume
132132
// create your `DocumentAnalysisClient` instance and `AzureKeyCredential` variable
133133
const client = new DocumentAnalysisClient(endpoint, new AzureKeyCredential(key));
134134

135-
const poller = await client.beginAnalyzeDocuments("prebuilt-document", formUrl);
135+
const poller = await client.beginAnalyzeDocument("prebuilt-document", formUrl);
136136

137137
const {
138138
keyValuePairs,
@@ -241,7 +241,7 @@ Extract text, selection marks, text styles, table structures, and bounding regio
241241
async function main() {
242242
const client = new DocumentAnalysisClient(endpoint, new AzureKeyCredential(key));
243243

244-
const poller = await client.beginAnalyzeDocuments("prebuilt-layout", formUrl);
244+
const poller = await client.beginAnalyzeDocument("prebuilt-layout", formUrl);
245245

246246
const {
247247
pages,
@@ -335,7 +335,7 @@ In this example, we'll analyze an invoice using the **prebuilt-invoice** model.
335335

336336
const client = new DocumentAnalysisClient(endpoint, new AzureKeyCredential(key));
337337

338-
const poller = await client.beginAnalyzeDocuments(PrebuiltModels.Invoice, invoiceUrl);
338+
const poller = await client.beginAnalyzeDocument(PrebuiltModels.Invoice, invoiceUrl);
339339

340340
const {
341341
documents: [result]

0 commit comments

Comments
 (0)