From 8607d696eca482e025a9ca30ee992707211d1f11 Mon Sep 17 00:00:00 2001 From: Anuj Solanki Date: Wed, 3 Jul 2024 17:28:05 +0200 Subject: Integrate Whisper AI into AGL Voice Agent and Update Dependencies V1: - Removed the following recipes from meta-offline-voiceagent: - python3-scipy - python3-scikit-learn - python3-openblas - python3-lapack - python3-numpy - Updated to use meta-python-ai layer for: - python3-scipy - python3-scikit-learn - python3-openblas - python3-lapack - python3-numpy - python3-pytorch - Added all the required recipes for Whisper AI: - Included recipes for Whisper AI base and tiny model - Updated recipes for: - python3-uvloop - python3-python-crfsuite V2: - Remove vulkan from DISTRO_FEATURES as it has become coditional at upstream - Fix flutter_voiceassistant service - Update recipe of llvmlite to include the wheel for aarch64 also. V3: - Fix llvmlite recipe and some patches - Removes rasa and its dependencies - Fix agl-service-voiceagent.service Bug-AGL: SPEC-5200 Change-Id: I429e7d4b98fbbe1a4f8c1341ac8918d7d177b382 Signed-off-by: Anuj Solanki --- .../voiceagent-service/agl-service-voiceagent_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb') diff --git a/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb index 7b6139d2..e1f1cc50 100644 --- a/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb +++ b/meta-offline-voice-agent/recipes-assistant/voiceagent-service/agl-service-voiceagent_git.bb @@ -30,6 +30,7 @@ SYSTEMD_SERVICE:${PN} = "agl-service-voiceagent.service" do_compile:prepend() { # Generate proto files and move them to 'generated/' directory python3 -m grpc_tools.protoc -I${S}/agl_service_voiceagent/protos --python_out=${S}/agl_service_voiceagent/generated --grpc_python_out=${S}/agl_service_voiceagent/generated voice_agent.proto + python3 -m grpc_tools.protoc -I${S}/agl_service_voiceagent/protos --python_out=${S}/agl_service_voiceagent/generated --grpc_python_out=${S}/agl_service_voiceagent/generated audio_processing.proto # Replace all placeholders with actual values sed -i 's|PYTHON_DIR|${PYTHON_SITEPACKAGES_DIR}|g' ${S}/agl_service_voiceagent/config.ini @@ -62,9 +63,9 @@ RDEPENDS:${PN} += " \ python3-grpcio-tools \ python3-pygobject \ kuksa-client \ - python3-rasa \ python3-snips-inference-agl \ vosk \ + whisper \ " -FILES:${PN} += "/usr/share/nlu/" \ No newline at end of file +FILES:${PN} += "/usr/share/nlu/" -- cgit 1.2.3-korg