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

C# Organising Luis intent classes #228

Closed
jcalixte opened this issue May 6, 2016 · 5 comments
Closed

C# Organising Luis intent classes #228

jcalixte opened this issue May 6, 2016 · 5 comments
Assignees

Comments

@jcalixte
Copy link

jcalixte commented May 6, 2016

Hello,
I am currently working on a bot with a lot of intents coming from LUIS (hundreds for sure), I'd like to split and organise classes by group of intents (like splitting your PizzaOrderDialog class sample). Is it possible?

Thank you,

Julien

@willportnoy
Copy link
Member

You should be able to use partial classes in C# - would that work for you?

@willportnoy willportnoy self-assigned this May 6, 2016
@ankitbko
Copy link
Member

ankitbko commented May 6, 2016

This is something I have been looking for also. LUIS is meant to get evolved as more intents are added and trained. The code handling LUIS intents will also grow specially if they spawn complicated forms as well. It would be helpful if it is possible to keep LUIS intents in different projects to promote a plugin type of architecture. Specially in enterprise projects, where we could have a single bot which evolves and grows to accomplish multiple automation which can get complicated, it would be better if I could just write and plugin (Register) the LUIS intent as separate project once it is mature enough without having to modify previously written code, or add partial classes.

Also is there a way to have multiple LUIS model in a single bot?

@willportnoy
Copy link
Member

I agree with the need for modularity in handling LUIS requests. We would have to add a mechanism to use a single LUIS model with multiple LUIS Dialogs.

To answer your second question, you can have multiple LUIS dialogs for multiple LUIS models in a single bot - perhaps the challenging aspect is dispatching across them. This is related to the first issue.

@jcalixte
Copy link
Author

jcalixte commented May 7, 2016

Partial classes aren't enough for our projet maintainability but I'll use it for now.
I am looking forward to how it can be done next. Thank you.

@jcalixte jcalixte changed the title Organising Luis intent classes C# Organising Luis intent classes May 7, 2016
@Stevenic
Copy link
Contributor

Stevenic commented May 8, 2016

Please re-open if there's more to discuss around this issue.

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

4 participants