You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I see there is no way to configure the LuisRecognizer to use the staging deployment slot.
It needs to construct the url with the staging=true query parameter; however, there no option in LuisRecognizerOptions for staging.
I looked into submitting PR to add the boolean; but the request url is generated inside the LuisClient which is constructed from a swagger file and that needs to understand the staging option.
Update botframework-luis swagger to have staging query parameter
Regenerate client
Add staging: boolean to LuisRecognizerOptions
The text was updated successfully, but these errors were encountered:
This is actually related to issue #77. The currently used Swagger file is very out of date. I think the plan is to pursue creating a NPM library through the Azure-sdk-for-node with the Azure-approved Swagger file and then in botbuilder-ai create a depedency on that library; similar to what is done in Microsoft.Bot.Builder.Ai for the LuisRecognizerMiddleware class.
Stevenic
added
bug
Indicates an unexpected problem or an unintended behavior.
enhancement
and removed
bug
Indicates an unexpected problem or an unintended behavior.
labels
Feb 19, 2018
From what I see there is no way to configure the LuisRecognizer to use the staging deployment slot.
It needs to construct the url with the
staging=true
query parameter; however, there no option inLuisRecognizerOptions
for staging.I looked into submitting PR to add the boolean; but the request url is generated inside the LuisClient which is constructed from a swagger file and that needs to understand the staging option.
botframework-luis
swagger to have staging query parameterstaging: boolean
toLuisRecognizerOptions
The text was updated successfully, but these errors were encountered: