summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-offline-voice-agent
AgeCommit message (Collapse)AuthorFilesLines
2024-10-06Remove OpenAI's Whisper AI and its dependenciesAnuj Solanki2-3/+11
- 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>
2024-08-30Integrate Whisper AI into AGL Voice Agent and Update DependenciesAnuj Solanki2-5/+15
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 <anuj603362@gmail.com>
2024-02-16meta-offline-voice-agent: remove 'virtual/' RPROVIDESScott Murray1-1/+1
Replace 'virtual/vosk-model' RPROVIDES use with just 'vosk-model' to future-proof for Yocto Project 5.0 / Scarthgap, where it triggers a warning. Also update checksums in a couple of the model recipes to fix errors seen during test builds. Bug-AGL: SPEC-5067 Change-Id: I6d39342059c93d7bef77e9b65ff11a9b2aee51aa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-03Update voice agent related recipesMalik Talha1-1/+2
Change the SRCURI to use gerrit repos. Update agl-service-voicegent recipe to correctly package all the required content. Add recipe for another en-us vosk model. Add service files for RASA and Voice Agent server. Bug-AGL: SPEC-4906 Change-Id: Ic9f77386ff5c545c2a80433dd538c94bd8763e9e Signed-off-by: Malik Talha <talhamalik727x@gmail.com>
2023-10-11offline-voice-agent: increase BAZEL_JOBS and BAZEL_MEM defaultsJan-Simon Moeller1-1/+6
To speed up the build process, increase the default values for BAZEL_JOBS to HOST_CPUS*.4 and for BAZEL_MEM to HOST_RAM*0.4 . Bug-AGL: SPEC-4856 Change-Id: I3a167df914373979ea39b7ccbd508de15861c115 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-10-11Add recipes for voice agent service and appMalik Talha1-0/+1
Recipe files to compile the voice agent service and the flutter app, also add meta-tensorflow layer conf. Bug-AGL: SPEC-4906 Change-Id: I0e2eea863c95cd84d85d06194fbf01fcc64adb86 Signed-off-by: Malik Talha <talhamalik727x@gmail.com>
2023-10-06Add dependencies for RASA frameworkMalik Talha2-5/+20
This adds the libraries for the RASA machine learning framework. Bug-AGL: SPEC-4856 Change-Id: I477b09cae8ff51e284b51238cb5940464ea57a51 Signed-off-by: Malik Talha <talhamalik727x@gmail.com>
2023-08-08Rework and update offline voice agentamanarora_091-4/+1
This brings the voice agent to the state shown at AMM and EW. Change-Id: I31ac4adc874a206e6e598ba116523ecc7eb99fc9 Signed-off-by: amanarora_09 <aman.arora9848@gmail.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-07-28meta-offline-voice-agent: Enable layer for offline voice recognitionamanarora_093-0/+30
- This enables offline voice recognition in AGL - Can successfully run vosk API and vosk websocket server Changes: - Create a new layer: meta-offline-voice-recognition - Create recipes for the the Vosk library, API, websocket server and model - Create feature template for the layer (agl-offline-voice-agent) - Add all required packages to IMAGE_INSTALL - ptest enable recipe python3-vosk-api - Few fixes Bug-AGL: SPEC-4497 Change-Id: Icb290ceee22e2c3a51cbd67f7431701795f1201b Signed-off-by: amanarora_09 <aman.arora9848@gmail.com>