File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/applied-ai-services/form-recognizer/quickstarts/includes Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -463,9 +463,9 @@ public class FormRecognizer {
463
463
String modelId = " prebuilt-invoice" ;
464
464
String invoiceUrl = " https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-invoice.pdf" ;
465
465
466
- SyncPoller < DocumentOperationResult , AnalyzeResult > analyzeInvoicePoller = client. beginAnalyzeDocumentFromUrl(modelId, invoiceUrl);
466
+ SyncPoller < OperationResult , AnalyzeResult > analyzeInvoicePoller = client. beginAnalyzeDocumentFromUrl(modelId, invoiceUrl);
467
467
468
- AnalyzeResult analyzeInvoiceResult = analyzeInvoicesPoller . getFinalResult();
468
+ AnalyzeResult analyzeInvoiceResult = analyzeInvoicePoller . getFinalResult();
469
469
470
470
for (int i = 0 ; i < analyzeInvoiceResult. getDocuments(). size(); i++ ) {
471
471
AnalyzedDocument analyzedInvoice = analyzeInvoiceResult. getDocuments(). get(i);
You can’t perform that action at this time.
0 commit comments