I have a use case where a long sentence is being entered by the user, e.g. “My name is John, and I would like to know travel options from Los Angeles to Quebec. I am also interested in hotels availability, charges and amenities.”
This single message by the user is required to be parsed into 3-4 smaller atomic statements and then I require to know the matching intents for all these 3-4 sentences.
I know that message can be parsed and processed by creating a custom hook of type “Before Incoming Middleware” but the challenge is how to process all these 3-4 statements in loop.
I also think that this might not be the best approach to achieve this use case hence seeking support.