Merge pull request #8 from v-youel/master

fixing old URLs to the new ones
This commit is contained in:
Youssef Elsaie 2017-04-02 15:42:07 +02:00 коммит произвёл GitHub
Родитель f1f0304b6d 321447e4b5
Коммит d07e29267b
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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'