I have 2 intents that share an entity. 1 intent has 1 entity and the other has 2 entities
Intent 1: Show me my deals for [product name]
Intent 2: Show me my [product name] deals for [customer]
With this type of overlap, some entities are succeeding to predict correctly and some are failing. When they fail it’s usually Intent 1 predicted as 2 and vice versa. How do I handle this? It’s pretty evident that intent 1 has 1 entity and intent 2 has 2 entities. However, Rasa does not take that into consideration. I was thinking about adding this separate entity logic myself post-prediction, but that would probably be of poor design and slowly defeats the purpose of using an NLU. What would be the right approach for this? Whenever I add an extra phrase of similar format with different entity values, it’s not necessarily predicting it correctly it seems. It will decrease misprediction of 1 as 2 while increasing the misprediction of 2 as 1.