diff options
Diffstat (limited to 'agl_service_voiceagent/protos/audio_processing.proto')
-rw-r--r-- | agl_service_voiceagent/protos/audio_processing.proto | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/agl_service_voiceagent/protos/audio_processing.proto b/agl_service_voiceagent/protos/audio_processing.proto new file mode 100644 index 0000000..edacc04 --- /dev/null +++ b/agl_service_voiceagent/protos/audio_processing.proto @@ -0,0 +1,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
\ No newline at end of file |