How can I make a custom component stop the pipeline execution?

Is there a way a custom component can stop the pipeline execution?

Hi @rroa, are you asking about training using a custom pipeline or connecting to Rasa Core using a custom channel?

Hello @ricwo I mean a custom pipeline.

Say that I add a spellchecker or a language classification tool and need to make decisions of that like exiting the pipeline or performing a different next step other than doing intent classification etc.

I see - there’s no way to do that in Rasa NLU. Rather than doing this in the message processing can’t you write your custom component to do certain different things depending on the input?

I guess I could. I’m thinking on writing my own channel implementation and deciding on how to proceed from there.