Skip to content

Commit 386c316

Browse files
author
Aaron Hill
committed
reverting env var
1 parent f2a4c63 commit 386c316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/knowledge/qna_maker_samples.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from msrest.authentication import CognitiveServicesCredentials
77

88
# Add your QnaMaker subscription key and endpoint to your environment variables.
9-
SUBSCRIPTION_KEY = os.environ['QNA_SUBSCRIPTION_KEY']
10-
QNA_ENDPOINT = os.environ['QNA_LOCATION']
9+
SUBSCRIPTION_KEY = os.environ['QNA_MAKER_SUBSCRIPTION_KEY']
10+
QNA_ENDPOINT = os.environ['QNA_MAKER_ENDPOINT']
1111

1212

1313
def knowledge_based_crud_sample(subscription_key):
@@ -98,4 +98,4 @@ def _monitor_operation(client, operation):
9898
import os.path
9999
sys.path.append(os.path.abspath(os.path.join(__file__, "..", "..")))
100100
from tools import execute_samples
101-
execute_samples(globals(), SUBSCRIPTION_KEY_ENV_NAME)
101+
execute_samples(globals(), SUBSCRIPTION_KEY)

0 commit comments

Comments
 (0)