aboutsummaryrefslogtreecommitdiffstats
path: root/agl_service_voiceagent/protos/audio_processing.proto
blob: edacc0446e76db13432372482950f35445d41b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// proto file for audio processing service for whiisper online service

syntax = "proto3";

package audioproc;

service AudioProcessing {
  // Sends audio data and receives processed text.
  rpc ProcessAudio (AudioRequest) returns (TextResponse);
}

// The request message containing the audio data.
message AudioRequest {
  bytes audio_data = 1;
}

// The response message containing the processed text.
message TextResponse {
  string text = 1;
}

// usage: 
// python -m grpc_tools.protoc -I. --python_out=./generated/ --grpc_python_out=./generated/ audio_processing.proto