Where can I get the LuisAPIKey and LuisAPIHostName?

asked 2021-04-21T10:51:58.187+00:00
pIO 1 Reputation point

I'm developing a Chatbot using Bot Framework v4 SDK by Microsoft and I wanted to give him some language understanding, so I created a LUIS App for it's purpose. Then I was trying to integrate my LUIS App into a bot, in this case, the Core Bot template available on the Bot Framework v4 SDK, where it says that for it to use a LUIS App I have to give him a LuisAppId which I found and two other that I don't see where can I find them. Those two are the LuisAPIKey and the LuisAPIHostName.

In the Core Bot template there is a appsettings.json file with these lines, and I'm trying to get the value for the last two.

"LuisAppId": "",
"LuisAPIKey": "",
"LuisAPIHostName": ""

I suspect the LuisAPIHostName is westeurope.api.cognitive.microsoft.com because I set the App location to be West Europe, be I'm not sure, and I have no clue where to find the LuisAPIKey.

Azure Bot Service
Azure Bot Service
An Azure service that provides an integrated environment for bot development.
538 questions
Azure Cognitive Services
Azure Cognitive Services
A group of Azure artificial intelligence services and cognitive APIs that help build intelligent apps.
938 questions
Azure Language Understanding (LUIS)
Azure Language Understanding (LUIS)
A feature of Azure Cognitive Service for Language that uses natural language understanding to enable people to interact with apps, bots, and internet of things devices.
94 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-04-21T20:15:54.147+00:00
    GiftA-MSFT 11,091 Reputation points

    Hi, thanks for reaching out. When you create your LUIS resource, you can find your keys/endpoint from Azure Portal > Resource Group > Resource > Resource Management > Keys and Endpoint. You can also obtain your key from LUIS portal > Manage Tab > Azure Resources. Hope this helps!

    No comments