Microservice API

To add microservice components to a runtime prediction graph users need to create service that respects the internal API. The API provides a default service for each type of component within the system:
See full proto definition.
Model
A service to return predictions.
REST API
Endpoint
POST /predict
Request
JSON representation of SeldonMessage
Response
JSON representation of SeldonMessage
Example request payload:
Example response payload
gRPC
Router
A service to route requests to one of its children and receive feedback rewards for them.
REST API
Endpoint
POST /route
Request
JSON representation of SeldonMessage
Response
JSON representation of SeldonMessage
Example request payload:
Example response payload:
gRPC
Send Feedback
Endpoint
POST /send-feedback
Request
JSON representation of Feedback
Response
JSON representation of SeldonMessage
Example request payload:
gRPC
Combiner
A service to combine responses from its children into a single response.
REST API
Endpoint
POST /combine
Request
JSON representation of SeldonMessageList
Response
JSON representation of SeldonMessage
gRPC
Transformer
A service to transform its input.
REST API
Endpoint
POST /transform-input
Request
JSON representation of SeldonMessage
Response
JSON representation of SeldonMessage
Example request payload:
gRPC
Output Transformer
A service to transform the response from its child.
REST API
Endpoint
POST /transform-output
Request
JSON representation of SeldonMessage
Response
JSON representation of SeldonMessage
Example request payload:
gRPC
Last updated
Was this helpful?