Search code examples
azureauthorizationazure-language-understanding

I want to know how to use LUIS region key


I use free subscription ID.

I made LUIS resource and region was 'Asia Regions'.

When I entered LUIS.ai homepage, there was a westus starter key.

I added 'Asia Regions' key in the 'Publish' tab and entered model ID and subscription key into my code.

But it didn't work.

Only 'North America Regions' starter key worked.

I want to use asia key which I made in Azure portal.

How can I use this key?


Solution

  • It looks like you are using the endpoint directly from the publish without adding query which is giving you null result.

    If you are constructing your endpoint URLs for your LUIS-calling application, make sure these same routes and query string values are set for the endpoint used -- if you want them set as mentioned here.