Skip to content

Commit aae97fe

Browse files
committed
add local/remote consideration
1 parent d0ef2af commit aae97fe

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

articles/cognitive-services/form-recognizer/quickstarts/python-labeled-data.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ To complete this quickstart, you must have:
2525
- [Python](https://www.python.org/downloads/) installed (if you want to run the sample locally).
2626
- A set of at least six forms of the same type. You will use this data to train the model and test a form. You can use a [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) for this quickstart. Upload the training files to the root of a blob storage container in an Azure Storage account.
2727

28+
> [!NOTE]
29+
> This quickstart uses remote documents accessed by URL. To use local files instead, see the [reference documentation](https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v2-preview/operations/TrainCustomModelAsync).
30+
2831
## Create a Form Recognizer resource
2932

3033
[!INCLUDE [create resource](../includes/create-resource.md)]

articles/cognitive-services/form-recognizer/quickstarts/python-layout.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ To complete this quickstart, you must have:
2424
- [Python](https://www.python.org/downloads/) installed (if you want to run the sample locally).
2525
- A form document. You can download an image from the [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) for this quickstart.
2626

27+
> [!NOTE]
28+
> This quickstart uses a locally stored document. To use learn how to use remote files accessed by URL, see the [reference documentation](https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v2-preview/operations/AnalyzeLayoutAsync).
29+
30+
2731
## Create a Form Recognizer resource
2832

2933
[!INCLUDE [create resource](../includes/create-resource.md)]

articles/cognitive-services/form-recognizer/quickstarts/python-receipts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ To complete this quickstart, you must have:
2525
- [Python](https://www.python.org/downloads/) installed (if you want to run the sample locally).
2626
- A URL for an image of a receipt. You can use a [sample image](https://github.com/Azure-Samples/cognitive-services-REST-api-samples/blob/master/curl/form-recognizer/contoso-allinone.jpg?raw=true) for this quickstart.
2727

28+
> [!NOTE]
29+
> This quickstart uses a remote receipt accessed by URL. To use local files instead, see the [reference documentation](https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v2-preview/operations/AnalyzeReceiptAsync).
30+
2831
## Create a Form Recognizer resource
2932

3033
[!INCLUDE [create resource](../includes/create-resource.md)]

articles/cognitive-services/form-recognizer/quickstarts/python-train-extract.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ To complete this quickstart, you must have:
2525
- [Python](https://www.python.org/downloads/) installed (if you want to run the sample locally).
2626
- A set of at least five forms of the same type. You will use this data to train the model. Your forms can be of different file types but must be the same type of document. You can use a [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) for this quickstart. Upload the training files to the root of a blob storage container in an Azure Storage account.
2727

28+
> [!NOTE]
29+
> This quickstart uses remote documents accessed by URL. To use local files instead, see the [reference documentation](https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v2-preview/operations/TrainCustomModelAsync).
30+
31+
2832
## Create a Form Recognizer resource
2933

3034
[!INCLUDE [create resource](../includes/create-resource.md)]
@@ -63,7 +67,7 @@ To train a Form Recognizer model with the documents in your Azure blob container
6367
'Ocp-Apim-Subscription-Key': '<subsription key>',
6468
}
6569

66-
body = {
70+
body = {
6771
"source": source,
6872
"sourceFilter": {
6973
"prefix": prefix,

0 commit comments

Comments
 (0)