(Updated) LUIS Announcement: The programmatic API keys will no longer be used in the endpoint starting 31/12/2016!
Users of LUIS, or Language Understanding Intelligent Service on luis.ai might have recently received a message “The programmatic API keys will no longer be used in the endpoint starting 31/12/2016!”.
If you are searching for some information on this notice, here are some guidance regarding the notice.
There will be a deprecation of the endpoint in the following format.
https://api.projectoxford.ai/luis2/v1/application?application?id={appid}&subscription-key={subkey}&q={utterance}
If you are using SDK, you shouldn’t be affected as the SDK (updated ones) should be using header authentication.
*Corrections as of 17th Oct
It’s the type of key that it will accept that will be deprecated.
LUIS will now accept 2 types of keys,
- IBIZA (Azure portal) generated key
- LUIS Portal generated key
a. This key type will deprecated for the endpoint on 31st Dec 2016 (https://api.projectoxford.ai/luis/v1)
b. It will still be working for (https://api.projectoxford.ai/luis/v1.0/prog)
Do ensure your SDK and code is updated before 31st Dec 2016 nonetheless.
Here are some actions you should do. At point of this blog, free tier provides you 5 calls per second, up to 10k calls per month.
- Request for a new key on Azure portal. Refer to the process at creating keys
- Change the way you are doing authentication to use authorization headers. Generally speaking, the preferred way is to use ‘Ocp-Apim-Subscription-Key’ and ‘subscription key’ pair
For more samples, refer to this documentation page - Update your code and republish.
This only affects customers who are doing raw http queries using querystring without authentication header, as demonstrated below
https://api.projectoxford.ai/luis2/v1/application?application?id={appid}&subscription-key={subkey}&q={utterance} using keys generated from LUIS Portal.