diff options
author | Anuj Solanki <anuj603362@gmail.com> | 2024-09-30 23:39:02 +0200 |
---|---|---|
committer | Anuj Solanki <anuj603362@gmail.com> | 2024-10-06 16:25:15 +0200 |
commit | 8949e1b030da7067da206a580c5124ca85ec9fbc (patch) | |
tree | 9eec1daea3ded33862a310aa66e83864acf8abc2 /templates/feature/agl-offline-voice-agent | |
parent | 1feb55631bea43bf7745921e247706303db4d6fc (diff) |
Remove OpenAI's Whisper AI and its dependencies
- Remove OpenAI's Whisper AI recipes and all its dependencies.
- Add recipes for whisper-cpp, whisper-cpp-base and whisper-cpp-tiny
model.
- Add recipe for python-mpd.
- Add voice-agent-config to /etc/default and update config path in
agl-service-voiceagent.service
Bug-AGL: SPEC-5200
Change-Id: Iaebd9c46930144b41659710202e9b737dbe9f60b
Signed-off-by: Anuj Solanki <anuj603362@gmail.com>
Diffstat (limited to 'templates/feature/agl-offline-voice-agent')
-rw-r--r-- | templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc | 3 | ||||
-rw-r--r-- | templates/feature/agl-offline-voice-agent/50_local.conf.inc | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc b/templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc index 5c235ac0..959b6038 100644 --- a/templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc +++ b/templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc @@ -10,3 +10,6 @@ BBLAYERS =+ " \ # package in meta-oe is newer BBMASK += "meta-tensorflow/recipes-devtools/python/python3-gast_0.4.0.bb" +# needed for rasa +# ${METADIR}/external/meta-tensorflow \ +# diff --git a/templates/feature/agl-offline-voice-agent/50_local.conf.inc b/templates/feature/agl-offline-voice-agent/50_local.conf.inc index 632f14be..f0c6221c 100644 --- a/templates/feature/agl-offline-voice-agent/50_local.conf.inc +++ b/templates/feature/agl-offline-voice-agent/50_local.conf.inc @@ -21,17 +21,22 @@ FEATURE_PACKAGES_agl-offline-voice-agent:append = " \ python3-sounddevice \ flutter-voiceassistant \ agl-service-voiceagent \ - whisper \ - openai-whisper-base \ + whisper-cpp \ + whisper-cpp-tiny \ " EXTRA_IMAGE_FEATURES += "agl-offline-voice-agent" PREFERRED_RPROVIDER_vosk-model ?= "vosk-model-small-en-us" -PREFERRED_RPROVIDER_whisper-model ?= "openai-whisper-base" +PREFERRED_RPROVIDER_whisper-model ?= "whisper-cpp-tiny" # bump bazel limits BAZEL_JOBS = "HOST_CPUS*.4" BAZEL_MEM = "HOST_RAM*.4" LICENSE_FLAGS_ACCEPTED += "commercial_ffmpeg" + +# no rasa support currently +# python3-rasa \ +# rasa-model-agl \ +#
\ No newline at end of file |