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/cognitive-services/form-recognizer/quickstarts/curl-train-extract.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ If you don't have an Azure subscription, create a [free account](https://azure.m
27
27
To complete this quickstart, you must have:
28
28
- Access to the Form Recognizer limited-access preview. To get access to the preview, fill out and submit the [Form Recognizer access request](https://aka.ms/FormRecognizerRequestAccess) form.
29
29
-[cURL](https://curl.haxx.se/windows/) installed.
30
-
- A set of at least six forms of the same type. You will use five of these to train the model, and then you'll test it with the sixth form. 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 files to the root of a blob storage container in an Azure Storage account, and keep the training files and testing files in different subfolders.
30
+
- A set of at least six forms of the same type. You will use five of these to train the model, and then you'll test it with the sixth form. 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. You can put the testing files in a separate folder.
31
31
32
32
## Create a Form Recognizer resource
33
33
@@ -44,7 +44,6 @@ To train a Form Recognizer model with the documents in your Azure blob container
44
44
45
45
1. Replace `<Endpoint>` with the endpoint that you obtained with your Form Recognizer subscription.
46
46
1. Replace `<subscription key>` with the subscription key you copied from the previous step.
47
-
1. TBD path to form
48
47
1. Replace `<SAS URL>` with the Azure Blob storage container's shared access signature (SAS) URL. To retrieve the SAS URL, open the Microsoft Azure Storage Explorer, right-click your container, and select **Get shared access signature**. Make sure the **Read** and **List** permissions are checked, and click **Create**. Then copy the value in the **URL** section. It should have the form: `https://<storage account>.blob.core.windows.net/<container name>?<SAS value>`.
49
48
50
49
```bash
@@ -141,8 +140,7 @@ Next, you'll use your newly trained model to analyze a document and extract key-
141
140
142
141
1. Replace `<Endpoint>` with the endpoint that you obtained from your Form Recognizer subscription key. You can find it on your Form Recognizer resource **Overview** tab.
143
142
1. Replace `<model ID>` with the model ID that you received in the previous section.
144
-
1. Replace `<SAS URL>` with the Azure Blob storage container's shared access signature (SAS) URL.
145
-
1. TBD REWRITE : Replace `<path to your form>` with the file path of your form (for example, C:\temp\file.pdf). This can also be a URL to a remote file. For this quickstart, you can use the files under the **Test** folder of the [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451).
143
+
1. Replace `<SAS URL>` with an SAS URL to your file in Azure storage. Follow the steps in the Training section, but instead of getting a SAS URL for the whole blob container, get one for the specific file you want to analyze.
146
144
1. Replace `<subscription key>` with your subscription key.
0 commit comments