Hi, I have trained two different NLU models say model 1 and model 2, you can think of it as a hierarchical architecture where in i wish to call the NLU model2 only if the intent predicted from the 1st model is say “A” else will continue using model1. I want to have this architecture when RASA CORE interacts with NLU. How do we achieve this.
You’d need to implement custom nlu pipeline (at least for prediction) for this and a custom action in core to call another nlu model and to forget previous utterance and overwrite it with the new one. You can take a look how we implemented
Supervised Response Selector: docs: Responses, blog: Integrate response retrieval models in assistants built with Rasa