Adding custom metadata in the rasa events

Hello, I wanted to know if there is a way I can add custom fields to events internally generated by rasa.

For example, the current rasa slot event looks like this -

{ "event": "slot", "name": "departure_airport", "value": "BER" }

I want to send an extra field custom_field which can be something like

{ "event": "slot", "name": "departure_airport", "value": "BER", "custom_field": "custom_value" }

I want to send some extra fields to quite a few different rasa events like slot, action, user, bot, etc. events.

hi @harsh ! You can probably achieve everything you want by subclassing the SlotSet event to create a cutsom event class.

Will check this out. Thanks :slight_smile: