# Do I have to specify multiple intents in the domain file?

**URL:** <https://forum.rasa.com/t/do-i-have-to-specify-multiple-intents-in-the-domain-file/15162>\
**Category:** Rasa Open Source\
**Created:** [September 3, 2019, 11:50am UTC](https://forum.rasa.com/t/do-i-have-to-specify-multiple-intents-in-the-domain-file/15162 "2019-09-03T11:50:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tabularasa](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@tabularasa](https://forum.rasa.com/u/tabularasa)\
**Post date:** [September 3, 2019, 11:50am UTC](https://forum.rasa.com/t/do-i-have-to-specify-multiple-intents-in-the-domain-file/15162/1 "2019-09-03T11:50:23Z")

</div>

Hi,

I created a dual intent using supervised embeddings. I specified the combination in nlu.md and provided a few stories in stories.md. I also modified the pipeline as described.

However, when training the model i get the warning `Found unknown intent 'example1+example2' on line 9247. Please, make sure that all intents are listed in your domain yaml.`

Do I also have to list the double intent in the domain file? I didn’t see this described anywhere and it also doesn’t really make sense to me because it’s not an individual intent but rather a combination of others. My concern is that once I specify it in the domain file, it will be treated as a new, single intent and thereby will actually decrease classification accuracy instead of increasing it.

Thank you for your support.

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [September 3, 2019, 2:00pm UTC](https://forum.rasa.com/t/do-i-have-to-specify-multiple-intents-in-the-domain-file/15162/2 "2019-09-03T14:00:03Z")

</div>

Yes, you need to do it, as specified in the code for this [tutorial](https://blog.rasa.com/how-to-handle-multiple-intents-per-input-using-rasa-nlu-tensorflow-pipeline/?_ga=2.143294781.984580876.1567432104-1349818766.1563821081).

> <https://github.com/RasaHQ/tutorial-tf-pipeline/blob/master/domain.yml>

---

<div class="post-metadata">

**Author:** ![tabularasa](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@tabularasa](https://forum.rasa.com/u/tabularasa)\
**Post date:** [September 3, 2019, 2:06pm UTC](https://forum.rasa.com/t/do-i-have-to-specify-multiple-intents-in-the-domain-file/15162/3 "2019-09-03T14:06:50Z")

</div>

Thanks a lot. Must have missed that.
