Rasa NLU tensor flow has ability to identify multiple intents as well as extracting the entities associated with it. How ever I am struggling to understand how to map those entities to appropriate intent
Intent : bought+declined
Bought : bought a pizza
Declined : declined free offer on coke
Statement : bought a pizza but declined coke.
Here I am able to extract the intent as bought + declined also able to get the entities as pizza and coke but how do we categorize that pizza was bought and coke was declined ?
I think that, for this you would need an sentence tokenizer in your pipeline. Sentence tokenizer, as name suggests, splits text into sentences. So in your example, it should split text on word “but”, forming two sentences: bought a pizza & declined cookie. Which should help correctly classified multiple intents and entities. Cheers!