Andriy Kozachuk
Andriy Kozachuk

Reputation: 773

LUIS: connect to staging environment using the LuisClient

Is it possible to choose between staging and production environment when I create a LuisClient instance from Microsoft.Cognitive.LUIS nuget package?

Upvotes: 0

Views: 278

Answers (1)

Nicolas R
Nicolas R

Reputation: 14619

As you can see on LUIS portal, the difference between calls to staging vs production is by using a staging=true value in query string, for example for a project in Europe:

https://westeurope.api.cognitive.microsoft.com/luis/v2.0/apps/myAppId?subscription-key=mySubscriptionKey&staging=true&verbose=true&timezoneOffset=0&q=

This variable is not available in Microsoft.Cognitive.LUIS:

LUIS lib

Upvotes: 2

Related Questions