Spaces:
Runtime error
Runtime error
syntax = "proto3"; | |
service Resume{ | |
// Get Resume Info | |
rpc GetInfo(TextRequest) returns (ResumeEntitiesResponse); | |
rpc Health(PingRequest) returns (PongResponse); | |
} | |
message PingRequest{ | |
string ping = 1; | |
} | |
message PongResponse{ | |
string done = 1; | |
} | |
message TextRequest{ | |
string text = 1; | |
} | |
message Entity{ | |
string entity = 1; | |
int32 start = 2; | |
int32 end = 3; | |
optional string text = 4; | |
string origin = 5; | |
optional string level = 6; | |
} | |
message JobEntity { | |
Entity start = 1; | |
Entity end = 2; | |
Entity company = 3; | |
} | |
message ResumeEntitiesResponse{ | |
repeated Entity names = 1; | |
repeated Entity emails = 2; | |
repeated Entity phones = 3; | |
repeated Entity schools = 4; | |
repeated Entity edus = 5; | |
repeated Entity ages = 6; | |
repeated Entity genders = 7; | |
int32 work_years = 8; | |
repeated JobEntity jobs = 9; | |
repeated Entity titles = 10; | |
} | |