aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protos/voice_agent.proto
diff options
context:
space:
mode:
Diffstat (limited to 'lib/protos/voice_agent.proto')
-rw-r--r--lib/protos/voice_agent.proto14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/protos/voice_agent.proto b/lib/protos/voice_agent.proto
index 40dfe6a..09b9461 100644
--- a/lib/protos/voice_agent.proto
+++ b/lib/protos/voice_agent.proto
@@ -11,6 +11,15 @@ service VoiceAgentService {
rpc ExecuteCommand(ExecuteInput) returns (ExecuteResult);
}
+enum STTFramework {
+ VOSK = 0;
+ WHISPER = 1;
+}
+
+enum OnlineMode {
+ ONLINE = 0;
+ OFFLINE = 1;
+}
enum RecordAction {
START = 0;
@@ -50,7 +59,7 @@ message Empty {}
message ServiceStatus {
string version = 1;
- bool status = 2;
+ bool status = 2;
string wake_word = 3;
}
@@ -69,6 +78,7 @@ message S_RecognizeVoiceControl {
VoiceAudio audio_stream = 1;
NLUModel nlu_model = 2;
string stream_id = 3;
+ STTFramework stt_framework = 4;
}
message RecognizeVoiceControl {
@@ -76,6 +86,8 @@ message RecognizeVoiceControl {
NLUModel nlu_model = 2;
RecordMode record_mode = 3;
string stream_id = 4;
+ STTFramework stt_framework = 5;
+ OnlineMode online_mode = 6;
}
message RecognizeTextControl {