Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Luis staging slot and LuisClient #79

Open
bebenekmarcin opened this issue Mar 9, 2018 · 2 comments
Open

Query Luis staging slot and LuisClient #79

bebenekmarcin opened this issue Mar 9, 2018 · 2 comments

Comments

@bebenekmarcin
Copy link

Currently I'm using Microsoft.Cognitive.LUIS 2.0.2 where is LuisClient class but where there is no option to query staging slot. I see in commit history that you are preparing a new version 3.0.0 but this is not available in nuget yet. How I could query staging slot? If this will be possible in version 3.0.0 and when you are planning to release this to nuget?

@markbosshard
Copy link

You can query the staging slot by passing the parameter luisIsStaging = True in the endpoint query string. See docu here: https://microsoft.github.io/NLU.DevOps/docs/LuisEndpointConfiguration.html

I am not sure where you build your endpoint String, but I am sure you will find a way to adapt it.

@markbosshard
Copy link

If you are in the Bot Framework Backend v4, the answer is here for NodeJS, and C# will be literally almost the same code.

https://stackoverflow.com/questions/55395397/how-to-change-luis-application-for-a-chatbot-in-the-bot-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants