I have the scenario
In my BOT framework, i handled both LUIS and QnA maker using the following criteria
IF the INTENT is NONE - connect to the QnA maker and get answers
SOME OTHER INTENT - Corresponding answers will be triggered.
It works perfectly fine untill i endup with the following scenario:
1) I have a question in QnA Maker as - how do i search for a hotel
2) in the LUIS utterance search hotels in Newyark - BOT framework has dedicated API method for this intent and get the results based on the selected entity.
Now, I got into trouble - if the user type as 'how do i search for a hotel' - it goes to the LUIS intent instead of QnA maker - IS there any better way to handle this scenario without ambiguity
Here is my sample code:
[LuisIntent("")]
[LuisIntent("None")]
///If NO INTENT MATCHES - CALL QnA Maker
public async Task None(IDialogContext context, LuisResult result)
{
try
{ /* QnA maker call */ }
[LuisIntent("GetHotel")]
///If NO INTENT MATCHES - CALL QnA Maker
public async Task None(IDialogContext context, LuisResult result)
{
try
{ /* API call to get the results */ }