Skip to content

Commit 5ebce75

Browse files
mohabghanemlmazuel
authored andcommitted
Updating Images (#17)
* Updating Images * Editing readme
1 parent 249bbf7 commit 5ebce75

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

samples/language/luis/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ A example demonstrating how:
1515
The minimum prerequisites to run this sample are:
1616
* A [LUIS.ai account](https://www.luis.ai/) where to upload the sample's LUIS model.
1717

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.
1919

2020
![Get the programmatic key](images/programmatic-key.png)
2121

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.
2323

2424
## Cognitive Services: LUIS Authoring Sample
2525

@@ -40,7 +40,7 @@ If you want to test this sample, you have to import the pre-build [LuisApp.json]
4040

4141
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).
4242

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.
4444

4545
#### Where to find the Application ID and Subscription Key
4646

@@ -52,9 +52,9 @@ You'll need these two values to configure the LuisDialog through the LuisModel a
5252

5353
![App Settings](images/prereqs-appid.png)
5454

55-
2. Subscription Key and Azure Region
55+
2. Subscription Key and Endpoint
5656

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.
5858

5959
![Programmatic API Key](images/prereqs-apikey.png)
6060

@@ -71,7 +71,7 @@ From Python, use the [azure-cognitiveservices-language-luis](http://pypi.python.
7171
from azure.cognitiveservices.language.luis.runtime import LUISRuntimeClient
7272
from msrest.authentication import CognitiveServicesCredentials
7373

74-
// Create client with SubscriptionKey and Azure region
74+
// Create client with SubscriptionKey and Endpoint
7575
client = LUISRuntimeClient(
7676
'https://westus.api.cognitive.microsoft.com', # Change "westus" to your region if necessary
7777
CognitiveServicesCredentials("[LUIS_SUBSCRIPTION_KEY]"), # Put your LUIS Subscription key
2.73 KB
Loading
4.12 KB
Loading

0 commit comments

Comments
 (0)