Skip to content
This repository was archived by the owner on Oct 15, 2026. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 899 Bytes

external-prediction.md

File metadata and controls

32 lines (22 loc) · 899 Bytes

External Prediction API

API

The Seldon Core exposes a generic external API to connect your ML runtime prediction to external business applications.

REST API

Prediction

  • endpoint : POST /api/v0.1/predictions
  • payload : JSON representation of SeldonMessage - see proto definition
  • example payload :
    {"data":{"names":["a","b"],"tensor":{"shape":[2,2],"values":[0,0,1,1]}}}

Feedback

  • endpoint : POST /api/v0.1/feedback
  • payload : JSON representation of Feedback - see proto definition

gRPC

service Seldon {
  rpc Predict(SeldonMessage) returns (SeldonMessage) {};
  rpc SendFeedback(Feedback) returns (SeldonMessage) {};
 }

see full proto definition