标签: botframework luis azure-cognitive-services
当我从Microsoft.Cognitive.LUIS nuget包创建LuisClient实例时,是否可以在登台和生产环境之间进行选择?
LuisClient
答案 0 :(得分:2)
正如您在LUIS门户网站上看到的那样,对分段与生产的调用之间的区别是在查询字符串中使用null值,例如对于欧洲的项目:
null
staging=true
此变量在https://westeurope.api.cognitive.microsoft.com/luis/v2.0/apps/myAppId?subscription-key=mySubscriptionKey&staging=true&verbose=true&timezoneOffset=0&q= 中
https://westeurope.api.cognitive.microsoft.com/luis/v2.0/apps/myAppId?subscription-key=mySubscriptionKey&staging=true&verbose=true&timezoneOffset=0&q=