Skip to content

Commit 8cd1c79

Browse files
authored
Merge pull request #78356 from PatrickFarley/formre-standardize
[cog serv] standardize training section and content
2 parents cc0e5e4 + 5e3772a commit 8cd1c79

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ When your Form Recognizer resource finishes deploying, find and select it from t
4444

4545
## Train a Form Recognizer model
4646

47-
First, you'll need a set of training data. You can use data in an Azure blob or your own local training data. You should have a minimum of five sample forms (PDF documents and/or images) of the same type/structure as your main input data. Or you can use a single empty form. The form's file name needs to include the word "empty."
47+
First, you'll need a set of training data in an Azure Storage blob. You should have a minimum of five sample forms (PDF documents and/or images) of the same type/structure as your main input data. Or, you can use a single empty form. The form's file name needs to include the word "empty."
4848

4949
To train a Form Recognizer model by using the documents in your Azure blob container, call the **Train** API by running the cURL command that follows. Before you run the command, make these changes:
5050

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,12 @@ When you are granted access to use Form Recognizer, you'll receive a Welcome ema
4242
4343
When your Form Recognizer resource finishes deploying, find and select it from the **All resources** list in the portal. Then select the **Keys** tab to view your subscription keys. Either key will give your app access to the resource. Copy the value of **KEY 1**. You will use it in the next section.
4444

45-
## Create and run the sample
45+
## Train a Form Recognizer model
46+
47+
First, you'll need a set of training data in an Azure Storage blob. You should have a minimum of five sample forms (PDF documents and/or images) of the same type/structure as your main input data. Or, you can use a single empty form. The form's file name needs to include the word "empty."
48+
49+
To train a Form Recognizer model by using the documents in your Azure blob container, call the **Train** API by running the python code that follows. Before you run the code, make these changes:
4650

47-
To create and run the sample, make these changes to the code snippet that follows:
4851
1. Replace `<Endpoint>` with the endpoint URL for the Form Recognizer resource in the Azure region where you obtained your subscription keys.
4952
1. Replace `<SAS URL>` with an Azure Blob storage container shared access signature (SAS) URL of the location of the training data.
5053
1. Replace `<Subscription key>` with the subscription key you copied from the previous step.

0 commit comments

Comments
 (0)