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: samples/language/luis/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,11 @@ A example demonstrating how:
15
15
The minimum prerequisites to run this sample are:
16
16
* A [LUIS.ai account](https://www.luis.ai/) where to upload the sample's LUIS model.
17
17
18
-
The first step is to get your Programmatic Key. Go to the home page, [www.luis.ai](https://www.luis.ai/), and log in. After creating your LUIS account, a starter key, also known as a programmatic key, is created automatically for LUIS account. To find the programmatic key, click on the account name in the upper-right navigation bar to open [Account Settings](https://www.luis.ai/user/settings), which displays the Programmatic Key.
18
+
The first step is to get your Authoring Key. Go to the home page, [www.luis.ai](https://www.luis.ai/), and log in. After creating your LUIS account, a starter key, also known as a authoring key, is created automatically for LUIS account. To find the authoring key, click on the account name in the upper-right navigation bar to open [Account Settings](https://www.luis.ai/user/settings), which displays the Authoring Key.
19
19
20
20

21
21
22
-
Set the `LUIS_SUBSCRIPTION_KEY` environment variable to this programmatic key to continue.
22
+
Set the `LUIS_SUBSCRIPTION_KEY` environment variable to this authoring key to continue.
23
23
24
24
## Cognitive Services: LUIS Authoring Sample
25
25
@@ -40,7 +40,7 @@ If you want to test this sample, you have to import the pre-build [LuisApp.json]
40
40
41
41
Once you imported the application you'll need to "train" the model ([Training](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/train-test)) before you can "Publish" the model in an HTTP endpoint. For more information, take a look at [Publishing a Model](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/publishapp).
42
42
43
-
Finally, edit the [luis_runtime_samples.py](luis_runtime_samples.py) file and update the attribute placeholders with the values corresponding to your Application and Azure Region where the application was deployed.
43
+
Finally, edit the [luis_runtime_samples.py](luis_runtime_samples.py) file and update the attribute placeholders with the values corresponding to your Application and Endpoint where the application was deployed.
44
44
45
45
#### Where to find the Application ID and Subscription Key
46
46
@@ -52,9 +52,9 @@ You'll need these two values to configure the LuisDialog through the LuisModel a
52
52
53
53

54
54
55
-
2. Subscription Key and Azure Region
55
+
2. Subscription Key and Endpoint
56
56
57
-
Click on the Publish App link from the top of the LUIS application dashboard. Once your app is published, copy the Region and Key String from *Starter_Key* from the Endpoints table on the Publish App page.
57
+
Click on the Publish App link from the top of the LUIS application dashboard. Once your app is published, copy the Endpoint and Key String from *Starter_Key* from the Endpoints table on the Publish App page.
58
58
59
59

60
60
@@ -71,7 +71,7 @@ From Python, use the [azure-cognitiveservices-language-luis](http://pypi.python.
71
71
from azure.cognitiveservices.language.luis.runtime import LUISRuntimeClient
72
72
from msrest.authentication import CognitiveServicesCredentials
73
73
74
-
// Create client with SubscriptionKey andAzure region
74
+
// Create client with SubscriptionKey andEndpoint
75
75
client = LUISRuntimeClient(
76
76
'https://westus.api.cognitive.microsoft.com', # Change "westus" to your region if necessary
77
77
CognitiveServicesCredentials("[LUIS_SUBSCRIPTION_KEY]"), # Put your LUIS Subscription key
0 commit comments