# Running separate core and nlu

**URL:** <https://forum.rasa.com/t/running-separate-core-and-nlu/15414>\
**Category:** Rasa Open Source\
**Created:** [September 9, 2019, 10:31am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414 "2019-09-09T10:31:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![IzidoroBaltazar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/izidorobaltazar/32/4918_2.png) [@IzidoroBaltazar](https://forum.rasa.com/u/IzidoroBaltazar)\
**Post date:** [September 9, 2019, 10:31am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414/1 "2019-09-09T10:31:56Z")

</div>

Hi all,

In older rasa 0.14 core and nlu were separated. I was running them separately.

In newer rasa 1.2.2 or 1.3.0 can I run separate rasa nlu and rasa core? I can run nlu with switch --enable-api and supply rasa with nlu model only. However when I start core with core only model no nlu processing takes place. Even though my endpoints.yaml contains nlu tag.

```auto
nlu:
  url: localhost:5005

```

my nlu start command:

```auto
rasa run --enable-api --model models/nlu-20190909-0955.tar.gz --endpoints configuration/endpoints.yml --debug

```

my core start command:

```auto
rasa run --endpoints configuration/endpoints.yml -p 5010 --credentials configuration/credentials.yml --model models/core-20190909-084306.tar.gz --debug --enable-api

```

following curl to core does not trigger call to nlu:

```auto
curl -XPOST http://localhost:5010/conversations/default/messages -d '{"text": "Hello!", "sender": "user" }'

```

nlu seems to be working fine as following cmd works:

```auto
curl http://localhost:5005/model/parse -d '{"text":"hello"}'

```

How can I run separetely rasa nlu and rasa core?

Thank you.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [September 11, 2019, 11:47am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414/2 "2019-09-11T11:47:53Z")

</div>

Why do you want to run them separately?

---

<div class="post-metadata">

**Author:** ![IzidoroBaltazar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/izidorobaltazar/32/4918_2.png) [@IzidoroBaltazar](https://forum.rasa.com/u/IzidoroBaltazar)\
**Post date:** [September 11, 2019, 11:55am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414/3 "2019-09-11T11:55:21Z")

</div>

We would like to use our own NLU and use rasa core for dialogue driving. As POC I’m trying to separate them. For the time being I’m working with rasa NLU and rasa core. We are curious whether we can use only rasa core in the future?

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [September 11, 2019, 11:56am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414/4 "2019-09-11T11:56:21Z")

</div>

You can definitely only use core and only use NLU. However if you use them both, you should be using them both in the combined model/server sense, not separately.

---

<div class="post-metadata">

**Author:** ![IzidoroBaltazar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/izidorobaltazar/32/4918_2.png) [@IzidoroBaltazar](https://forum.rasa.com/u/IzidoroBaltazar)\
**Post date:** [September 11, 2019, 11:59am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414/5 "2019-09-11T11:59:26Z")

</div>

> [@IzidoroBaltazar](#):
>
> nlu: url: [http://localhost:5005](http://localhost:5005)

So this piece of configuration in `endpoints.yml` is only legacy from rasa 0.14? It seems to be ignored. I’m not getting any calls on NLU server if I load only core model into rasa.

---

<div class="post-metadata">

**Author:** ![Cekir](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cekir/32/8115_2.png) [@Cekir](https://forum.rasa.com/u/Cekir)\
**Post date:** [April 8, 2021, 8:58am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414/6 "2021-04-08T08:58:14Z")

</div>

Hi, The following video: [https://www.youtube.com/watch?v=jMGgT4lgI28](https://www.youtube.com/watch?v=jMGgT4lgI28) suggests to use 2 NLU servers for single core server. I am assuming then, that they should be run separately. Am I missing something?

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [April 9, 2021, 7:40am UTC](https://forum.rasa.com/t/running-separate-core-and-nlu/15414/7 "2021-04-09T07:40:42Z")

</div>

Hi @Cekir , if you want to have a bot that runs multiple NLU models, that is the suggested way to do it. If you only need one NLU model, we recommend running them in one single rasa model instead of running the two servers separately.

Some of these pages may be helpful if you go the separate route:

> **[Using NLU Only](https://rasa.com/docs/rasa/nlu-only)**
>
> An open source machine learning framework for automated text and voice-based conversations

> **[NLU-Only Server](https://rasa.com/docs/rasa/nlu-only-server)**
>
> Read about connecting to a Rasa NLU-only server using the HTTP API.
