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
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
- 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 !