Entity groups in rasa 2 forms?


I’m looking for help to use

My example is a purchase dialog that allows the user to specify any number of entity groups, e.g.:

  • Buyer: I would like to buy some apples and 5 bananas.
  • Seller: Sure. How many apples did you want?
  • Buyer: 3.
  • Seller: Anything else?
  • Buyer: Yes. 2 Oranges.
  • Seller: That’s… $$

So there are 2 challenges:

  1. the user can provide more than 1 entity group per utterance
  2. the bot needs to ask for any missing information (e.g. quantity) in any of the entity groups

Can the Rasa forms handle this? How?