I took a deep dive into the Rasa Open Source code base and while I couldn’t find any up to date documentation, it should still be possible to use an external NLU. These are the legacy docs for it which should still work.
This class adds support for external NLU endpoints. To trigger the usage of this class you need an entry like the following in your endpoints.yml:
nlu:
url: "http://<your nlu host>:<port>"
Note that Rasa Open Source will automatically add /model/parse to the given URL which means that your server needs to respond to requests on http://<your nlu host>:<port>/model/parse.
The request which Rasa sends has the following content:
I created an issue for the missing documentation here.
Regarding Rasa X: Support for this currently a bit fragile but the following should still work:
Start Rasa Open Source with the nlu: endpoint defined in endpoints.yml
Make sure Rasa X does not provide a model containing an NLU model to Rasa Open Source. You can either do so by not uploading a model to Rasa X or having only models in Rasa which were trained using rasa train core. If you train via Rasa X, you should achieve the same behavior as rasa train core by not providing any NLU training data in Rasa X.
Disclaimer
All things aside, I can only strongly recommend to use the integrated NLU in Rasa Open Source. We got a great research team which is continuously working on improvements for NLU and also integrating the dialogue management with the NLU predictions more and more which should lead to more robust decisions by the bot. You can also integrate various pretrained models with Rasa’s integrated NLU to improve the predictions for your language (e.g. you could utilize BERT embeddings) or use custom components to add more information to the prediction (e.g. sentiment analysis).