aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protos
diff options
context:
space:
mode:
authorAnuj-S62 <anuj603362@gmail.com>2024-07-11 15:18:31 +0530
committerAnuj-S62 <anuj603362@gmail.com>2024-07-21 19:52:11 +0530
commit0b59086cdddd40689e57969aa7914ba38f1ec2dd (patch)
tree975c38663f57d497eeab0e2649e51308aef9a755 /lib/protos
parentecd34435c1a74b39bf41d59ad479fdc85d0afb7b (diff)
Update Voice Agent Flutter App
- update voice-agent flutter app to use whisper AI for speech-to-text functionality. - Integrated SharedPreferences to store the application state. Bug-AGL: SPEC-5200 Change-Id: I9a05b1d135c1fa07949333391ff828f166b7fe8e Signed-off-by: Anuj-S62 <anuj603362@gmail.com>
Diffstat (limited to 'lib/protos')
-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 {