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

I have 2 entities in one sentence. For example in my intent I want to know the [tuition fee]{“entity”: “fee”} of the [International Business]{“entity”:“major”} And I want to know how can fill 2 of these in one "tracker.get_latest_entity_values "