File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66from 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
1313def 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 )
You can’t perform that action at this time.
0 commit comments