How to extract multiple values for the same entity name?

Guys, I am facing two challenges here,

1). Extract multiple values with the same entity name inside a custom action:

For example:

I have multiple values for “dimension” entity in the text

“Give me the market share of total profits by region”. In this case, “total profits” & “region” are my dimension entity values

2). Once I get the entity values, how do I make slots out of it?

Please help me out here.

1 Like

Have you tried a list slot? Alternatively, you can use the tracker.get_latest_entity_values function from a custom action