Handling multiple values of same entity

Hi, I’m trying to create a demo bot where I am trying to retrieve some invoices. If i give one invoice (entity) at a time, like

I need invoice for A15847

the bot gets it right, sets the slot and replies

I have your invoice a15847 ready and will send you the pdf shortly.

But if I give it multiple ones, like

I need invoices for a12345, b15948, k784ll

it just takes the last one in the slot and responds

I have your invoice k784ll ready and will send you the pdf shortly.

How can I use multiple slots for one entity. Any help is appreciated.


Hey @gautamaaryak . You most likely need to use list slot here. With that, your assistant will be able to store all the extracted entities, not just the last one.


Thanks @Juste .