Skip to content

Commit 159a50a

Browse files
authored
Merge pull request #42960 from v-kydela/patch-2
Update luis-container-howto.md
2 parents f5ac3bb + 86d7eab commit 159a50a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

articles/cognitive-services/LUIS/luis-container-howto.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pul
6767
docker pull mcr.microsoft.com/azure-cognitive-services/luis:latest
6868
```
6969

70-
Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image.
71-
7270
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.
7371

7472
[!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.
244242

245243
|Package type|HTTP verb|Route|Query parameters|
246244
|--|--|--|--|
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`]|
249247

250248
The query parameters configure how and what is returned in the query response:
251249

@@ -288,12 +286,12 @@ curl -G \
288286
-d verbose=false \
289287
-d log=true \
290288
--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"
292290
```
293291

294292
To make queries to the **Staging** environment, replace `production` in the route with `staging`:
295293

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`
297295

298296
To query a versioned model, use the following API:
299297

@@ -302,7 +300,7 @@ curl -G \
302300
-d verbose=false \
303301
-d log=false \
304302
--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"
306304
```
307305

308306
# [V2 prediction endpoint](#tab/v2)
@@ -393,4 +391,4 @@ In this article, you learned concepts and workflow for downloading, installing,
393391
[download-published-package]: https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/apps-packagepublishedapplicationasgzip
394392
[download-versioned-package]: https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/apps-packagetrainedapplicationasgzip
395393

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

Comments
 (0)