summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-offline-voice-agent/recipes-assistant/voiceagent-service/files')
-rw-r--r--meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/agl-service-voiceagent.service2
-rw-r--r--meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/voice-agent-config.ini46
2 files changed, 47 insertions, 1 deletions
diff --git a/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/agl-service-voiceagent.service b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/agl-service-voiceagent.service
index b4d738f8..af08b42e 100644
--- a/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/agl-service-voiceagent.service
+++ b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/agl-service-voiceagent.service
@@ -3,7 +3,7 @@ Description=AGL Voice Agent Service
After=network.target
[Service]
-ExecStart=/usr/bin/voiceagent-service run-server --default
+ExecStart=/usr/bin/voiceagent-service run-server --config /etc/default/voice-agent-config.ini
Restart=always
[Install]
diff --git a/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/voice-agent-config.ini b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/voice-agent-config.ini
new file mode 100644
index 00000000..e4f63130
--- /dev/null
+++ b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/files/voice-agent-config.ini
@@ -0,0 +1,46 @@
+[General]
+base_audio_dir = /usr/share/nlu/commands/
+vosk_model_path = /usr/share/vosk/vosk-model-small-en-us-0.15/
+whisper_model_path = /usr/share/whisper/tiny.pt
+whisper_cpp_path = /usr/bin/whisper-cpp
+whisper_cpp_model_path = /usr/share/whisper-cpp/models/tiny.en.bin
+wake_word_model_path = /usr/share/vosk/vosk-model-small-en-us-0.15/
+snips_model_path = /usr/share/nlu/snips/model/
+channels = 1
+sample_rate = 16000
+bits_per_sample = 16
+wake_word = hey automotive
+server_port = 51053
+server_address = 127.0.0.1
+rasa_model_path = /usr/share/nlu/rasa/models/
+rasa_server_port = 51054
+rasa_detached_mode = 1
+base_log_dir = /usr/share/nlu/logs/
+store_voice_commands = 0
+online_mode = 0
+online_mode_address = 65.108.107.216
+online_mode_port = 50051
+online_mode_timeout = 15
+mpd_ip = 127.0.0.1
+mpd_port = 6600
+
+[Kuksa]
+ip = 127.0.0.1
+port = 55555
+protocol = grpc
+insecure = 0
+token = /usr/lib/python3.12/site-packages/kuksa_certificates/jwt/super-admin.json.token
+tls_server_name = Server
+
+[VSS]
+hostname = localhost
+port = 55555
+protocol = grpc
+insecure = 0
+token_filename = /etc/xdg/AGL/agl-vss-helper/agl-vss-helper.token
+ca_cert_filename = /etc/kuksa-val/CA.pem
+tls_server_name = Server
+
+[Mapper]
+intents_vss_map = /usr/share/nlu/mappings/intents_vss_map.json
+vss_signals_spec = /usr/share/nlu/mappings/vss_signals_spec.json