Merge pull request #8 from v-youel/master
fixing old URLs to the new ones
This commit is contained in:
Коммит
d07e29267b
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче