syntax = "proto3"; service TextClassification { rpc Classify(TextClassificationRequest) returns (TextClassificationResponse) {} } message TextClassificationRequest { string text = 1; repeated string labels = 2; } message TextClassificationResponse { string sequence = 1; string match = 2; repeated string labels = 3; repeated float scores = 4; }