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 mutually-exclusive selection in multi-occuring slot #57

Open
nb-programmer opened this issue May 12, 2023 · 0 comments
Open

Comments

@nb-programmer
Copy link

For example:

%[&request_agg](100)
    [~[i need?]|what is] [the?] @[aggregation][ and @[aggregation]?][\??]

@[aggregation]
    average [value?]
    median [value?]
    minimum [value?]
    maximum [value?]

~[i need]
    [&i]['d| would?] [need|want]
    [&i]['d| would] like
    give [me?]

aggregation occurs twice (since slot type list is possible in RASA). I want it to not use the same slot value for both occurrences in the same sentence. Example:

what is minimum and maximum?

Is correct, but:

what is maximum and maximum?

is not.
How do I do this using the DSL rules?

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

1 participant