Define an OpenInference Handler
In addition to the project, run, context, and event arguments described in the Python handler definition, an OpenInference handler receives request, an OpenInference InferRequest object.
The handler returns a response object containing the protocol outputs.
Example
See the Open Inference Protocol for protocol details.