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/language-service/custom-named-entity-recognition/includes/quickstarts/rest-api.md
+8-58Lines changed: 8 additions & 58 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,23 +69,13 @@ Create a **POST** request using the following URL, headers, and JSON body to cre
69
69
Use the following URL to create a project and import your tags file. Replace the placeholder values below with your own values.
|`{YOUR-ENDPOINT}`| The endpoint for authenticating your API request. |`https://<your-custom-subdomain>.cognitiveservices.azure.com`|
193
183
|`{PROJECT-NAME}`| The name for your project. This value is case-sensitive. |`myProject`|
194
184
195
-
### Parameters
196
-
197
-
Pass the following parameter with your request.
198
-
199
-
|Key|Explanation|Value|
200
-
|--|--|--|
201
-
|`api-version`| The API version used.|`2021-11-01-preview`|
202
-
203
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
204
-
205
185
### Headers
206
186
207
187
Use the following header to authenticate your request.
@@ -229,7 +209,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
229
209
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
`JOB-ID` is used to identify your request, since this operation is asynchronous. You will use this URL in the next step to get the training status.
@@ -239,7 +219,7 @@ Once you send your API request, you will receive a `202` response indicating suc
239
219
Use the following **GET** request to query the status of your model's training process. You can use the URL you received from the previous step, or replace the placeholder values below with your own values.
@@ -248,16 +228,6 @@ Use the following **GET** request to query the status of your model's training p
248
228
|`{PROJECT-NAME}`| The name for your project. This value is case-sensitive. |`myProject`|
249
229
|`{JOB-ID}`| The ID for locating your model's training status. This is in the `location` header value you received in the previous step. |`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx`|
250
230
251
-
### Parameters
252
-
253
-
Pass the following parameter with your request.
254
-
255
-
|Key|Explanation|Value|
256
-
|--|--|--|
257
-
|`api-version`| The API version used.|`2021-11-01-preview`|
258
-
259
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
260
-
261
231
### Headers
262
232
263
233
Use the following header to authenticate your request.
@@ -306,7 +276,7 @@ Once you send the request, you will get the following response.
306
276
Create a **PUT** request using the following URL, headers, and JSON body to start deploying a custom NER model.
@@ -315,16 +285,6 @@ Create a **PUT** request using the following URL, headers, and JSON body to star
315
285
|`{PROJECT-NAME}`| The name for your project. This value is case-sensitive. |`myProject`|
316
286
|`{DEPLOYMENT-NAME}`| The name of your deployment. This value is case-sensitive. |`prod`|
317
287
318
-
### Parameters
319
-
320
-
Pass the following parameter with your request.
321
-
322
-
|Key|Explanation|Value|
323
-
|--|--|--|
324
-
|`api-version`| The API version used.|`2021-11-01-preview`|
325
-
326
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
327
-
328
288
### Headers
329
289
330
290
Use the following header to authenticate your request.
@@ -347,7 +307,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
347
307
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
`JOB-ID` is used to identify your request, since this operation is asynchronous. You will use this URL in the next step to get the publishing status.
@@ -357,7 +317,7 @@ Once you send your API request, you will receive a `202` response indicating suc
357
317
Use the following **GET** request to query the status of your model's publishing process. You can use the URL you received from the previous step, or replace the placeholder values below with your own values.
@@ -367,16 +327,6 @@ Use the following **GET** request to query the status of your model's publishing
367
327
|`{DEPLOYMENT-NAME}`| The name of your deployment. This value is case-sensitive. |`prod`|
368
328
|`{JOB-ID}`| The ID for locating your model's training status. This is in the `location` header value you received in the previous step. |`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx`|
369
329
370
-
### Parameters
371
-
372
-
Pass the following parameter with your request.
373
-
374
-
|Key|Explanation|Value|
375
-
|--|--|--|
376
-
|`api-version`| The API version used.|`2021-11-01-preview`|
377
-
378
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
379
-
380
330
### Headers
381
331
382
332
Use the following header to authenticate your request.
@@ -558,4 +508,4 @@ Use the following header to authenticate your request.
558
508
559
509
|Key|Value|
560
510
|--|--|
561
-
|Ocp-Apim-Subscription-Key| The key to your resource. Used for authenticating your API requests.|
511
+
|Ocp-Apim-Subscription-Key| The key to your resource. Used for authenticating your API requests.|
0 commit comments