You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/document-intelligence/quickstarts/includes/python-sdk.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,6 @@ Extract text, selection marks, text styles, table structures, and bounding regio
122
122
>
123
123
> * For this example, you'll need a **document file from a URL**. You can use our [sample document](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-layout.pdf) for this quickstart.
124
124
> * We've added the file URL value to the `formUrl` variable in the `analyze_layout` function.
125
-
> * To analyze a given file at a URL, you'll use the `begin_analyze_document_from_url` method and pass in `prebuilt-layout` as the model Id. The returned value is a `result` object containing data about the submitted document.
126
125
127
126
:::moniker range="doc-intel-4.0.0"
128
127
@@ -250,6 +249,8 @@ After you add a code sample to your application, build and run your program:
250
249
251
250
:::moniker range="doc-intel-3.1.0"
252
251
252
+
To analyze a given file at a URL, you'll use the `begin_analyze_document_from_url` method and pass in `prebuilt-layout` as the model Id. The returned value is a `result` object containing data about the submitted document.
253
+
253
254
**Add the following code sample to your form_recognizer_quickstart.py application. Make sure you update the key and endpoint variables with values from your Azure portal Form Recognizer instance:**
@@ -532,7 +533,6 @@ Analyze and extract common fields from specific document types using a prebuilt
532
533
>
533
534
> * Analyze an invoice using the prebuilt-invoice model. You can use our [sample invoice document](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-invoice.pdf) for this quickstart.
534
535
> * We've added the file URL value to the `invoiceUrl` variable at the top of the file.
535
-
> * To analyze a given file at a URI, you'll use the `begin_analyze_document_from_url` method and pass `prebuilt-invoice` as the model Id. The returned value is a `result` object containing data about the submitted document.
536
536
> * For simplicity, all the key-value pairs that the service returns are not shown here. To see the list of all supported fields and corresponding types, see our [Invoice](../../concept-invoice.md#field-extraction) concept page.
537
537
538
538
:::moniker range="doc-intel-4.0.0"
@@ -778,6 +778,8 @@ After you add a code sample to your application, build and run your program:
778
778
779
779
:::moniker range="doc-intel-3.1.0"
780
780
781
+
To analyze a given file at a URI, you'll use the `begin_analyze_document_from_url` method and pass `prebuilt-invoice` as the model Id. The returned value is a `result` object containing data about the submitted document.
782
+
781
783
**Add the following code sample to your form_recognizer_quickstart.py application. Make sure you update the key and endpoint variables with values from your Azure portal Form Recognizer instance:**
0 commit comments