从免费到付费(Azure)的LUIS订阅密钥 [英] From free to paid (Azure) Subscription Key for LUIS
问题描述
我刚刚将LUIS服务添加到我的Azure订阅中(因此从免费服务转为付费服务),但是现在我正在努力使用这些键。
I've just added the LUIS service to my Azure subscription (hence moving from the free to the paid service), but now I'm struggling how to use these keys.
1。在我的Azure订阅门户网站上,可以使用密钥(其中2个)。我复制了第一把钥匙。
1. On my Azure subscription portal, the keys (2 of them) are available. I copied the first key.
2。在我的LUIS仪表板上,我打开了"我的设置/订阅密钥"。并复制了第一个Azure密钥。我想这是正确的程序("需要帮助获取密钥?"链接不起作用)?
2. On my LUIS dashboard, I opened "My Settings / Subscription Keys" and copied this first Azure key. I guess that is the right procedure (the "Need help getting your key?" link doesn't work)?
3。在我的代码中,我更改了订阅密钥(从免费密钥到我复制此Azure门户的第一个密钥.Luis服务不接受Azure订阅密钥。
3. In my code, I changed the subscription key (from the free key to the first key I copied this Azure portal. The Luis service doesn't accept the Azure subscription key.
如果我还原回到免费密钥,代码运行正常。
If I revert back to the free key, the code runs fine.
我做错了什么?
推荐答案
您好,
您从"我的设置/订阅密钥"复制的密钥用于编程API密钥。 这些密钥用于建模。 您可以检索您的2通过转到Azure门户并使用LUiS购买选择您的帐户来使用的密钥。
然后您可以点击"密钥"。您将看到2个单独的密钥,每个密钥都可以使用。 一个是备份。
The key you copied from "My Settings / Subscription Keys" is for programmatic API keys. These are used for model building. You can retrieve your 2 keys to use by going to the Azure Portal and selecting your account with the LUiS purchase. You can then click on "Keys". You will see 2 separate keys, each of them can be used. One is a backup.
谢谢,
Raymond
这篇关于从免费到付费(Azure)的LUIS订阅密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!