Since partner
and customer
are both names, you should have a single name entity and map the name entity to the slots:
slots:
customer:
type: text
influence_conversation: false
mapping:
- type: from_entity
entity: name
partner:
type: text
influence_conversation: false
mapping:
- type: from_entity
entity: name
Though I define the intents separately it does not work
Slot filling in forms does not use intents. Also, in our example bots, we typically create a single inform
intent.