获取错误“无效的订阅密钥”而我正试图获得实体 [英] Getting an error "Invalid Subscription Key" while I am trying to get the Entities
问题描述
我在Azure中创建了一个LUIS认知服务。并通过登录LUIS门户将该资源添加到我的LUIS应用程序。我试图通过Postman中的API获取实体。当我尝试那个时,它说的是无效的订阅
密钥。
I have created one LUIS Cognitive service in Azure. and added that Resource to my LUIS application by logging into LUIS portal. I am trying to get the Entities through an API in Postman. When I am trying that one it is saying as an Invalid Subscription Key.
但是有一个默认资源LUIS称为"Starter Key"。当我尝试使用该密钥时,我将获得实体。
But there is a default resource in LUIS called "Starter Key" When I am trying with that key I am getting the Entities.
但我怀疑,我的LUIS应用程序是否正在运行我创建的服务与否?如何检查?
But I have a doubt that, Whether my LUIS App is running under the service which I have created or not? How to check?
推荐答案
您好,
以下是
步骤以使用LUIS应用程序中的订阅密钥。
Here are the steps to use the subscription keys in your LUIS app.
这些
步骤确实提到检查你的AppId以确保你没有使用公共AppId。希望这有助于检查您是否使用了正确的服务。
These steps do mention to check your AppId to ensure that you are not using the public AppId. Hope this helps in checking if you are using the right service.
-------------------------- -------------------------------------------------- -------------------------------
如果您觉得这篇文章有用,请给它一个"有用"投票。
如果有帮助,请记得将回复标记为答案。
-----------------------------------------------------------------------------------------------------------
If you found this post helpful, please give it a "Helpful" vote.
Please remember to mark the replies as answers if they help.
谢谢,
Rohit Mungi
Rohit Mungi
这篇关于获取错误“无效的订阅密钥”而我正试图获得实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!