syntax = "proto3";

import "google/protobuf/any.proto";
import "com/tzld/piaoquan/recommend/model/common.proto";

option java_multiple_files = true;
option java_package = "com.tzld.piaoquan.recommend.model.grpc.model";
option java_generic_services = true;

message PredictRequest {
  string param = 1;
  string model_name = 2;
}

message PredictResponse {
  Result result = 1;
  string data = 2;
}


service PredictService {
  rpc predict (PredictRequest) returns (PredictResponse);
}