Hello,
I want that one of the two is required. I can check if one of the two is set. But for invalid values for my use case I want to ask again for a number.
One can do this by using Dialog directives (Dialog.Elicit), but then the user can only answer with a number. I want that it is possible to answer with both.
I guess a solution would be to compose the two slot types. But i would need to create an own type and define the values as far as I can see. Is there any better solution?
Another solution might be to remember which intent needed a slot value and create a new intent where the user answers with just a number or ordinal. The problem is that it is not possible to differentiate. The user can not say "book 5" for example. I would need to create additional intents for book and for other things (like "magazine"). But this is not possible for all use cases as it triggers a new intent.
Any advices how to elicit one of two slot types?
Thank you!