haoneng.lhn
2023-07-20 3e8159e5b0f6e7e96d4e6ca1f4b4d8ccb151ace5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}