diff --git a/python2/luis_sdk/luis_client.py b/python2/luis_sdk/luis_client.py index e767146..811a305 100644 --- a/python2/luis_sdk/luis_client.py +++ b/python2/luis_sdk/luis_client.py @@ -42,7 +42,7 @@ class LUISClient(object): Constructs a LUISClient with the corresponding user's App Id and Subscription Keys Starts the prediction procedure for the user's text, and accepts a callback function ''' - _LUISURL = u'api.projectoxford.ai' + _LUISURL = u'westus.api.cognitive.microsoft.com' _PredictMask = u'/luis/v2.0/apps/%s?subscription-key=%s&q=%s&verbose=%s' _ReplyMask = u'/luis/v2.0/apps/%s?subscription-key=%s&q=%s&contextid=%s&verbose=%s' diff --git a/python3/luis_sdk/luis_client.py b/python3/luis_sdk/luis_client.py index 84cb2e2..cd9e179 100644 --- a/python3/luis_sdk/luis_client.py +++ b/python3/luis_sdk/luis_client.py @@ -42,7 +42,7 @@ class LUISClient: Constructs a LUISClient with the corresponding user's App Id and Subscription Keys Starts the prediction procedure for the user's text, and accepts a callback function ''' - _LUISURL = 'api.projectoxford.ai' + _LUISURL = 'westus.api.cognitive.microsoft.com' _PredictMask = '/luis/v2.0/apps/%s?subscription-key=%s&q=%s&verbose=%s' _ReplyMask = '/luis/v2.0/apps/%s?subscription-key=%s&q=%s&contextid=%s&verbose=%s'