Skip to content

Commit e26e3d2

Browse files
authored
Merge pull request #78755 from PatrickFarley/formre-filepath
[cog serv] clarify multipart form option
2 parents febeffd + f5f4b1c commit e26e3d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-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
@@ -105,7 +105,7 @@ Next, you'll analyze a document and extract key-value pairs and tables from it.
105105

106106
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.
107107
1. Replace `<modelID>` with the model ID that you received in the previous section.
108-
1. Replace `<path to your form>` with the file path of your form. For example c:\temp\file.pdf.
108+
1. Replace `<path to your form>` with the file path of your form (for example, C:\temp\file.pdf).
109109
1. Replace `<file type>` with the file type. Supported types: pdf, image/jpeg, image/png.
110110
1. Replace `<subscription key>` with your subscription key.
111111

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Note the `"modelId"` value. You'll need it for the following steps.
124124
Next, you'll analyze a document and extract key-value pairs and tables from it. Call the **Model - Analyze** API by running the Python script that follows. Before you run the command, make these changes:
125125

126126
1. Replace `<Endpoint>` with the endpoint that you obtained with your Form Recognizer subscription key. You can find it on your Form Recognizer resource **Overview** tab.
127-
1. Replace `<File Path>` with the file path or URL of the location of the form from which to extract data.
127+
1. Replace `<path to your form>` with the file path of your form (for example, C:\temp\file.pdf).
128128
1. Replace `<modelID>` with the model ID you received in the previous section.
129129
1. Replace `<file type>` with the file type. Supported types: pdf, image/jpeg, image/png.
130130
1. Replace `<subscription key>` with your subscription key.
@@ -135,7 +135,7 @@ Next, you'll analyze a document and extract key-value pairs and tables from it.
135135

136136
# Endpoint URL
137137
base_url = r"<Endpoint>" + "/formrecognizer/v1.0-preview/custom"
138-
file_path = r"<File Path>"
138+
file_path = r"<path to your form>"
139139
model_id = "<modelID>"
140140
headers = {
141141
# Request headers

0 commit comments

Comments
 (0)