mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
25 lines
395 B
Protocol Buffer
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;
|
|
}
|