inference_service.proto 429 B

123456789101112131415
  1. syntax = "proto3";
  2. package com.webank.ai.fate.api.serving;
  3. option java_outer_classname = "InferenceServiceProto";
  4. message InferenceMessage {
  5. bytes header = 1;
  6. bytes body = 2;
  7. }
  8. service InferenceService {
  9. rpc inference (InferenceMessage) returns (InferenceMessage);
  10. rpc startInferenceJob (InferenceMessage) returns (InferenceMessage);
  11. rpc getInferenceResult (InferenceMessage) returns (InferenceMessage);
  12. }