# Can i write seperate webservice for RASA Diagloge core

**URL:** <https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800>\
**Category:** Rasa Open Source\
**Created:** [October 15, 2019, 6:42am UTC](https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800 "2019-10-15T06:42:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![murugan](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@murugan](https://forum.rasa.com/u/murugan)\
**Post date:** [October 15, 2019, 6:42am UTC](https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800/1 "2019-10-15T06:42:08Z")

</div>

Hey , This is Murugan , i have an doubt , I did separate webservice for RASA nlu model , my doubt is how can i write separate RASA core for separate webservice ? if yes , lets share yours ideas ,

Note : here with i attached my separate webservice for RASA NlU .[nlu\_webservice.py](https://forum.rasa.com/uploads/short-url/fPkEKhErKX73ZRCfWhTEGsN1nx3.py) (781 Bytes)

Thanks in advance …

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [October 16, 2019, 8:56am UTC](https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800/2 "2019-10-16T08:56:15Z")

</div>

@murugan

Can you please give us a bit more information regarding your use case / setup?

- Which library versions are you using? Are you still using `rasa-core` / `rasa-nlu` or already using `rasa`?
- What are you trying to achieve (why do you need your own webservice in addition the existing rasa api?

---

<div class="post-metadata">

**Author:** ![murugan](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@murugan](https://forum.rasa.com/u/murugan)\
**Post date:** [October 16, 2019, 9:14am UTC](https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800/3 "2019-10-16T09:14:15Z")

</div>

@Tobias_Wochinger thanks for your response , actually i am doing custom chatbot developement , so i need piece piece of a service … actually i did nlu\_webservice , now my question is how can i give my nlu inputs(intent to rasa core )? actually rasa.agent do all the things , but i need seperate …i.e message–\>nlu–\>Core , and i have an doubt what this line says , **interpreter = NaturalLanguageInterpreter.create(‘models/nlu/default/current’)** and what is the output ?

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [October 17, 2019, 7:37am UTC](https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800/4 "2019-10-17T07:37:30Z")

</div>

> actually i am doing custom chatbot developement

That’s totally fine, but when you are trying to parse messages with NLU, pass it to Core, then it seems like exactly what `rasa` is doing 😉 Which parts of the chatbot do you want to customize? And can you please my answers from above?

Maybe this part of the docs can help you [Jupyter Notebooks](https://rasa.com/docs/rasa/api/jupyter-notebooks/).

---

<div class="post-metadata">

**Author:** ![murugan](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@murugan](https://forum.rasa.com/u/murugan)\
**Post date:** [October 17, 2019, 11:04am UTC](https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800/5 "2019-10-17T11:04:14Z")

</div>

Thanks @Tobias_Wochinger i want to customize only RASA core part, …internally nlu sends higher intent and confident in to rasa agent right , , now my question is i need to edit the 1st three intent to rasa core

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [October 22, 2019, 9:46am UTC](https://forum.rasa.com/t/can-i-write-seperate-webservice-for-rasa-diagloge-core/19800/6 "2019-10-22T09:46:03Z")

</div>

Wouldn’t it be easier to write a [Custom NLU Components](https://rasa.com/docs/rasa/api/custom-nlu-components/#custom-nlu-components) in that case or to use the [Mapping Policy](https://rasa.com/docs/rasa/core/policies/#mapping-policy) to modify the tracker?
