-
Notifications
You must be signed in to change notification settings - Fork 3
Custom EventProcessor
Alon Gubkin edited this page Mar 1, 2022
·
2 revisions
InferenceDB uses event processors to parse messages from different Model Serving frameworks.
As an example, see KServeEventProcessor.
@event_processor("custom")
class MyEventProcessor(EventProcessor):
async def process_event(self, event) -> Inference:
...