Rasa entities extraction which appears to be similar for slot filling via forms. How to extract name of partner and name of customer in a form?

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.

1 Like