@@ -67,8 +67,6 @@ Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pul
67
67
docker pull mcr.microsoft.com/azure-cognitive-services/luis:latest
68
68
```
69
69
70
- Use the [ ` docker pull ` ] ( https://docs.docker.com/engine/reference/commandline/pull/ ) command to download a container image.
71
-
72
70
For a full description of available tags, such as ` latest ` used in the preceding command, see [ LUIS] ( https://go.microsoft.com/fwlink/?linkid=2043204 ) on Docker Hub.
73
71
74
72
[ !INCLUDE [ Tip for using docker list] ( ../../../includes/cognitive-services-containers-docker-list-tip.md )]
@@ -244,8 +242,8 @@ Use the host, `http://localhost:5000`, for container APIs.
244
242
245
243
| Package type| HTTP verb| Route| Query parameters|
246
244
| --| --| --| --|
247
- | Published| GET, POST| ` /luis/prediction/ v3.0/apps/{appId}/slots/{slotName}/predict? ` | ` query={query} ` <br >[ ` &verbose ` ] <br >[ ` &log ` ] <br >[ ` &show-all-intents ` ] |
248
- | Versioned| GET, POST| ` /luis/prediction/ v3.0/apps/{appId}/versions/{versionId}/predict? ` | ` query={query} ` <br >[ ` &verbose ` ] <br >[ ` &log ` ] <br >[ ` &show-all-intents ` ] |
245
+ | Published| GET, POST| ` /luis/v3.0/apps/{appId}/slots/{slotName}/predict? ` | ` query={query} ` <br >[ ` &verbose ` ] <br >[ ` &log ` ] <br >[ ` &show-all-intents ` ] |
246
+ | Versioned| GET, POST| ` /luis/v3.0/apps/{appId}/versions/{versionId}/predict? ` | ` query={query} ` <br >[ ` &verbose ` ] <br >[ ` &log ` ] <br >[ ` &show-all-intents ` ] |
249
247
250
248
The query parameters configure how and what is returned in the query response:
251
249
@@ -288,12 +286,12 @@ curl -G \
288
286
-d verbose=false \
289
287
-d log=true \
290
288
--data-urlencode " query=turn the lights on" \
291
- " http://localhost:5000/luis/prediction/ v3.0/apps/{APP_ID}/slots/production/predict"
289
+ " http://localhost:5000/luis/v3.0/apps/{APP_ID}/slots/production/predict"
292
290
```
293
291
294
292
To make queries to the ** Staging** environment, replace ` production ` in the route with ` staging ` :
295
293
296
- ` http://localhost:5000/luis/prediction/ v3.0/apps/{APP_ID}/slots/staging/predict `
294
+ ` http://localhost:5000/luis/v3.0/apps/{APP_ID}/slots/staging/predict `
297
295
298
296
To query a versioned model, use the following API:
299
297
@@ -302,7 +300,7 @@ curl -G \
302
300
-d verbose=false \
303
301
-d log=false \
304
302
--data-urlencode " query=turn the lights on" \
305
- " http://localhost:5000/luis/prediction/ v3.0/apps/{APP_ID}/versions/{APP_VERSION}/predict"
303
+ " http://localhost:5000/luis/v3.0/apps/{APP_ID}/versions/{APP_VERSION}/predict"
306
304
```
307
305
308
306
# [ V2 prediction endpoint] ( #tab/v2 )
@@ -393,4 +391,4 @@ In this article, you learned concepts and workflow for downloading, installing,
393
391
[ download-published-package ] : https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/apps-packagepublishedapplicationasgzip
394
392
[ download-versioned-package ] : https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/apps-packagetrainedapplicationasgzip
395
393
396
- [ unsupported-dependencies ] : luis-container-limitations.md#unsupported-dependencies-for-latest-container
394
+ [ unsupported-dependencies ] : luis-container-limitations.md#unsupported-dependencies-for-latest-container
0 commit comments