Skip to content

Commit f68b8d2

Browse files
authored
Merge pull request #115403 from diberry/diberry/post-keynote-luis-api-typo
[Cogsvcs] LUIS Post keynot - URL cleanup
2 parents eec3930 + 754132c commit f68b8d2

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

articles/cognitive-services/LUIS/developer-reference-resource.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ Both authoring and prediction endpoint APIS are available from REST APIs:
4848

4949
LUIS currently has 2 types of endpoints:
5050

51-
* authoring on the training endpoint
52-
* query prediction on the runtime endpoint.
51+
* **authoring** on the training endpoint
52+
* query **prediction** on the runtime endpoint.
5353

5454
|Purpose|URL|
5555
|--|--|
56-
|Authoring on training endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/api/v2.0/apps/{appID}/`|
57-
|V2 Runtime - all predictions on runtime endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/v2.0/apps/{appId}?q={q}[&timezoneOffset][&verbose][&spellCheck][&staging][&bing-spell-check-subscription-key][&log]`|
58-
|V3 Runtime - versions prediction on runtime endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/prediction/v3.0/apps/{appId}/versions/{versionId}/predict?query={query}[&verbose][&log][&show-all-intents]`|
59-
|V3 Runtime - slot prediction on runtime endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/prediction/v3.0/apps/{appId}/slots/{slotName}/predict?query={query}[&verbose][&log][&show-all-intents]`|
56+
|V2 Authoring on training endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/api/v2.0/apps/{appID}/`|
57+
|V3 Authoring on training endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/authoring/v3.0-preview/apps/{appID}/`|
58+
|V2 Prediction - all predictions on runtime endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/v2.0/apps/{appId}?q={q}[&timezoneOffset][&verbose][&spellCheck][&staging][&bing-spell-check-subscription-key][&log]`|
59+
|V3 Prediction - versions prediction on runtime endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/prediction/v3.0/apps/{appId}/versions/{versionId}/predict?query={query}[&verbose][&log][&show-all-intents]`|
60+
|V3 Prediction - slot prediction on runtime endpoint|`https://{your-resource-name}.api.cognitive.microsoft.com/luis/prediction/v3.0/apps/{appId}/slots/{slotName}/predict?query={query}[&verbose][&log][&show-all-intents]`|
6061

6162
The following table explains the parameters, denoted with curly braces `{}`, in the previous table.
6263

articles/cognitive-services/LUIS/luis-migration-api-v3.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Prediction endpoint changes in the V3 API
33
description: The query prediction endpoint V3 APIs have changed. Use this guide to understand how to migrate to version 3 endpoint APIs.
44
ms.topic: conceptual
5-
ms.date: 04/14/2020
5+
ms.date: 05/15/2020
66
ms.author: diberry
77
---
88

@@ -69,17 +69,10 @@ The V2 prediction API will not be deprecated for at least 9 months after the V3
6969

7070
### Changes by slot name and version name
7171

72-
The format of the V3 endpoint HTTP call has changed.
72+
The [format of the V3 endpoint HTTP](developer-reference-resource.md#rest-endpoints) call has changed.
7373

7474
If you want to query by version, you first need to [publish via API](https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/5890b47c39e2bb052c5b9c3b) with `"directVersionPublish":true`. Query the endpoint referencing the version ID instead of the slot name.
7575

76-
|PREDICTION API VERSION|METHOD|URL|
77-
|--|--|--|
78-
|V3|GET|https://<b>{REGION}</b>.api.cognitive.microsoft.com/luis/<b>prediction</b>/<b>v3.0</b>/apps/<b>{APP-ID}</b>/slots/<b>{SLOT-NAME}</b>/predict?query=<b>{QUERY}</b>|
79-
|V3|POST|https://<b>{REGION}</b>.api.cognitive.microsoft.com/luis/<b>prediction</b>/<b>v3.0</b>/apps/<b>{APP-ID}</b>/slots/<b>{SLOT-NAME}</b>/predict|
80-
|V2|GET|https://<b>{REGION}</b>.api.cognitive.microsoft.com/luis/<b>prediction</b>/<b>v3.0</b>/apps/<b>{APP-ID}</b>/versions/<b>{VERSION-ID}</b>/predict?query=<b>{QUERY}</b>|
81-
|V2|POST|https://<b>{REGION}</b>.api.cognitive.microsoft.com/luis/<b>prediction</b>/<b>v3.0</b>/apps/<b>{APP-ID}</b>/versions/<b>{VERSION-ID}</b>/predict|
82-
8376
|Valid values for `SLOT-NAME`|
8477
|--|
8578
|`production`|

0 commit comments

Comments
 (0)