Get Slots values after each message

Hello,

I want to get the slot values after each message. If I look for a solution, I always see, that I have to modify the actions.py. But I don’t understand how it works for each message. In the examples I have to call the function in a rule or story.

I think that I have to use tracker.get_latest_entity_values. But how can I do it for each message regardless of the intent.

Please help me :slight_smile:

Edit: I think to create a new pipeline component is the best way. Would you agree?

What do you want to do with the slot values?

You can configure an event broker but without understanding the use case this may not be the best approach.

I want to modify the slot values with an external programme before the rules and stories are activated.

My idea is to use the tracker in a pipeline component. But I don’t know if this possible and I don’t see any examples fot that idea.

You can read about custom nlu components here.