botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Can't set LuisRequest to use Staging Endpoint Slot for LuisDialogs

Open JonWendorfTallan opened this issue 9 years ago • 4 comments

I noticed within the LuisService.cs code that the "staging" parameter isn't included when building the query URI for LuisDialogs (via LuisRequests). Since we can't specify the staging parameter to be true, it appears our development application is making requests to the production endpoint slot rather than the staging endpoint.

Could we have the LuisModelAttribute updated to include a flag stating if the LuisRequests should use the staging endpoint slot for LuisDialogs?

Thank you!

JonWendorfTallan avatar Apr 05 '17 22:04 JonWendorfTallan

@Andrea-Orimoto

cahann avatar Apr 07 '17 20:04 cahann

Same issue logged here: https://github.com/Microsoft/BotBuilder/issues/2534 This is currently a roadblock for us.

LTsLlama avatar Apr 10 '17 06:04 LTsLlama

Looks like @chrimc62 added the Staging parameter as an option in develop. That should resolve this issue.

ghost avatar Apr 25 '17 15:04 ghost

This commit af2b62b will fix this issue.

msft-shahins avatar Apr 25 '17 17:04 msft-shahins