Skip to content

Commit 562375c

Browse files
authored
Use consistent names for environment variables
Earlier in the article, we're asked to create a `QNAMAKER_KEY` variable. However, unless I'm mistaken, this variable is later referred to as `QNAMAKER_SUBSCRIPTION_KEY`, which could cause confusion for folks who are trying to follow the instructions step by step.
1 parent 115bb17 commit 562375c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cognitive-services/QnAMaker/includes/quickstart-sdk-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Create variables for your resource's Azure endpoint and key. If you created the
6060

6161
|Environment variable|variable|Example|
6262
|--|--|--|
63-
|`QNAMAKER_SUBSCRIPTION_KEY`|`subscription_key`|The key is a 32 character string and is available in the Azure portal, on the QnA Maker resource, on the Quickstart page. This is not the same as the prediction endpoint key.|
63+
|`QNAMAKER_KEY`|`subscription_key`|The key is a 32 character string and is available in the Azure portal, on the QnA Maker resource, on the Quickstart page. This is not the same as the prediction endpoint key.|
6464
|`QNAMAKER_HOST`|`host`| Your authoring endpoint, in the format of `https://YOUR-RESOURCE-NAME.cognitiveservices.azure.com`, includes your **resource name**. This is not the same URL used to query the prediction endpoint.|
6565

6666
[!code-python[Azure resource variables](~/samples-qnamaker-python/documentation-samples/quickstarts/knowledgebase_quickstart/knowledgebase_quickstart.py?name=resourcekeys)]

0 commit comments

Comments
 (0)