# Best Practices in NLU for Intents With Multiple Entities

**URL:** <https://forum.rasa.com/t/best-practices-in-nlu-for-intents-with-multiple-entities/21434>\
**Category:** Rasa Open Source\
**Created:** [November 19, 2019, 3:40am UTC](https://forum.rasa.com/t/best-practices-in-nlu-for-intents-with-multiple-entities/21434 "2019-11-19T03:40:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjascob](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@bjascob](https://forum.rasa.com/u/bjascob)\
**Post date:** [November 19, 2019, 3:40am UTC](https://forum.rasa.com/t/best-practices-in-nlu-for-intents-with-multiple-entities/21434/1 "2019-11-19T03:40:37Z")

</div>

On the nlu side of things, I have a scenario where the same intent may contain additional entities to override the default values. Here’s a quick example…

```
## intent:rent_car
   - Rent a car.
   - Rent a [Toyota Prius](car_name).
   - Rent a [Toyota Prius](car_name) with a [baby-seat](aux_item).

```

For the above, is it best to put all three lines in the nlu.md file or is it OK to simply use last. From some quick experiments simply putting in the line with both entities seems to work fine, even if the user only says “rent a car.” In that case you don’t get any entities but I’m wondering if this will cause issues down the line.

A second question: is the above considered acceptable or would you generally have 3 different intents such as `rent_any_car`, `rent_car_by_name`, `rent_car_by_name_with_aux`?

---

<div class="post-metadata">

**Author:** ![durashi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/durashi/32/6143_2.png) [@durashi](https://forum.rasa.com/u/durashi)\
**Post date:** [November 19, 2019, 6:10am UTC](https://forum.rasa.com/t/best-practices-in-nlu-for-intents-with-multiple-entities/21434/2 "2019-11-19T06:10:53Z")

</div>

It is okay to have one intent:rent\_car with all 3 lines (By just using last line i will not train to identify the previous 2 lines). Then you can identify the intent of the user even if he does not specifically say the car\_name or aux\_item. Then in your stories you can define the bot response based on your identified intent and extracted entities. as example

```
##story1       
* rent_car
      - utter_what_is_car_name

##story2
* rent_car{"car_name": "Toyota Prius"}
      - utter_what_is_aux_item

```

Therefore no need of having 3 intents.
