# Two entity with the same intent examples

**URL:** <https://forum.rasa.com/t/two-entity-with-the-same-intent-examples/57255>\
**Category:** Rasa Open Source\
**Created:** [February 17, 2023, 3:06pm UTC](https://forum.rasa.com/t/two-entity-with-the-same-intent-examples/57255 "2023-02-17T15:06:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paulow](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Paulow](https://forum.rasa.com/u/Paulow)\
**Post date:** [February 17, 2023, 3:06pm UTC](https://forum.rasa.com/t/two-entity-with-the-same-intent-examples/57255/1 "2023-02-17T15:06:16Z")

</div>

Hello !

I currently have a problem when developing a bot with rasa, I have two entities that have two intents with similar examples which causes rasa to confuse the two when testing

domain.yml

```auto
slots:
  brand:
      type: text
      mappings:
      - type: from_entity
        entity: brand
        intent: supply_product_brand
        not_intent: supply_actual_phone_brand
  actual_phone_brand:
      type: text
      mappings:
      - type: from_entity
        entity: actual_phone_brand
        intent: supply_actual_phone_brand
        not_intent: supply_product_brand

```

nlu.yml

```auto
- intent: supply_product_brand
  examples: |
    - de la marque [Samsung](brand).
    - [Apple](brand).
    - [Samsung](brand).
    - [apple](brand)
    - [samsung](brand)
    - de la marque [Samsung](brand)
    - je cherche un [samsung](brand)
    - [APPLE](brand)
    - [apple](brand)
- intent: supply_actual_phone_brand
  examples: |
    - [Samsung](actual_phone_brand).
    - J'ai un [samsung](actual_phone_brand).
    - J'ai un [apple](actual_phone_brand).
    - J'ai un [apple](actual_phone_brand)
    - [Samsung](actual_phone_brand)
    - j'ai un [samsung](actual_phone_brand)

```

Does anyone have a solution to this problem? Thank you very much !

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [February 20, 2023, 6:04pm UTC](https://forum.rasa.com/t/two-entity-with-the-same-intent-examples/57255/2 "2023-02-20T18:04:15Z")

</div>

These should be a single intent. I suggest you follow the recommended `inform` intent. Here’s an example from the [financial-demo](https://github.com/RasaHQ/financial-demo/blob/7627cebef1571d55855b886cf4ac20459af9566c/data/nlu/nlu.yml#L245).
