syntax = "proto3";

import "com/tzld/piaoquan/recommend/server/common.proto";

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

message ScoreRequest {
  int64 video_id = 1;
  string mid = 2;
  string uid = 3;
  string city = 4;
  string province = 5;
}

message ScoreResponse {
  Result result = 1;
  map<string, double> score = 2;
}

service ModelService {
  rpc Score (ScoreRequest) returns (ScoreResponse);
}