I’m just wondering if there’s any way to easily add a new, custom Event class?
It should be easy enough to just subclass from the Event class, but it appears that there is some sort of json schema that Rasa Core uses for validating events within the responses from an action server.
This means that we have to essentially monkeypatch the rasa.shared.utils.schemas.events.EVENTS_SCHEMA with a definition for the custom Event class. I’ve got a working solution doing that, but it’s definitely not ideal and seems overcomplicated.
Any other options out there for doing something like this?