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

Support for Nested/Sub Intents, better known as context #132

Open
JoshuaeKaiser opened this issue Dec 13, 2018 · 3 comments
Open

Support for Nested/Sub Intents, better known as context #132

JoshuaeKaiser opened this issue Dec 13, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@JoshuaeKaiser
Copy link

JoshuaeKaiser commented Dec 13, 2018

Great library, love it!

A nice addition would be a method to specify that an intent should only be queried if a previous intent has been detected first. Better known as context, or sub-intent. Be able to nest these continuously. So only look a set of intents if their parent intent was detected.

Example Conversation 1
user: 'what type of insurance products do you offer' --> Intent: Insurance_Products
bot: 'we offer these'
user: 'ok i want to apply' --> Intent: Insurance_Products.Apply
bot: 'ok lets apply'

Example Conversation 2
user: 'ok i want to apply' --> Intent: UNDEFINED

*First example, the Apply intent is a sub intent of Insurance_Products and will only be considered if Insurance_Products has been detected.

The second example, Insurance_Products was NOT detected so we do not check its child 'sub-intents'

:)

@snyuryev
Copy link

@JoshuaeKaiser any solution for that?

@JoshuaeKaiser
Copy link
Author

JoshuaeKaiser commented Apr 18, 2019 via email

@snyuryev
Copy link

@JoshuaeKaiser that will be very appreciated!

@aigloss aigloss added the enhancement New feature or request label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants