FunASR/funasr/runtime/python/grpc/proto/paraformer.proto
2023-05-08 22:36:07 +08:00

25 lines
395 B
Protocol Buffer

syntax = "proto3";
option objc_class_prefix = "paraformer";
package paraformer;
service ASR {
rpc Recognize (stream Request) returns (stream Response) {}
}
message Request {
bytes audio_data = 1;
string user = 2;
string language = 3;
bool speaking = 4;
bool isEnd = 5;
}
message Response {
string sentence = 1;
string user = 2;
string language = 3;
string action = 4;
}