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

Added functionality to dynamically change applications #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dmccrevan
Copy link

@dmccrevan dmccrevan commented Apr 8, 2018

I added a function changeConfig so that users could easily change the luis's configuration if the application is using multiple luis's workspaces.

Sample usage:

var LUISclient = LUISClient({
  appId: APPID,
  appKey: APPKEY,
  verbose: true
});

var newConfig = {
  appId: newAPPID,
  appKey: newAPPKEY,
  verbose: false
};

LUISclient.changeConfig(newConfig);

Update: In my second commit, I changed my code to more fit the way previously used to initialize the LUISClient

@msftclas
Copy link

msftclas commented Apr 8, 2018

CLA assistant check
All CLA requirements met.

@dmccrevan
Copy link
Author

@Ahmkel Could this be merged in?

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

Successfully merging this pull request may close these issues.

2 participants