From 7b4a029168133bbf58c5dfe97e618badfe77b361 Mon Sep 17 00:00:00 2001 From: Malik Talha Date: Fri, 6 Oct 2023 23:42:08 +0500 Subject: Add dependencies for RASA framework This adds the libraries for the RASA machine learning framework. Bug-AGL: SPEC-4856 Change-Id: I477b09cae8ff51e284b51238cb5940464ea57a51 Signed-off-by: Malik Talha --- .../agl-offline-voice-agent/50_local.conf.inc | 20 +++++++++++++++++--- .../README_feature_agl-offline-voice-agent.md | 5 +++-- 2 files changed, 20 insertions(+), 5 deletions(-) (limited to 'templates') 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 6276b075..4c80ecb2 100644 --- a/templates/feature/agl-offline-voice-agent/50_local.conf.inc +++ b/templates/feature/agl-offline-voice-agent/50_local.conf.inc @@ -1,11 +1,25 @@ # agl-offline-voice-agent - FORTRAN:forcevariable = ",fortran" RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath" +# bad practice but required to build scikit-learn +HOSTTOOLS += "gfortran" + # FIXME check if needed and/or submit upstream BBCLASSEXTEND:pn-python3-charset-normalizer = "native nativesdk" -IMAGE_INSTALL:append = " python3-vosk-api vosk-kaldi vosk vosk-server python3-vosk-websocket-server python3-sounddevice flutter-vosk-demo" +IMAGE_INSTALL:append = " \ + python3-snips-inference-agl \ + snips-model-agl \ + python3-rasa \ + rasa-model-agl \ + vosk \ + vosk-kaldi \ + vosk-server \ + python3-vosk-api \ + python3-vosk-websocket-server \ + python3-sounddevice \ + flutter-vosk-demo \ + " -PREFERRED_PROVIDER_virtual/vosk-model ?= "vosk-model-small-en-us" +PREFERRED_PROVIDER_virtual/vosk-model ?= "vosk-model-small-en-us" \ No newline at end of file diff --git a/templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md b/templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md index fe44a6af..abe9b062 100644 --- a/templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md +++ b/templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md @@ -1,9 +1,10 @@ --- description: Feature agl-offline-voice-agent -authors: Aman Arora +authors: Malik Talha , Aman Arora --- ### Feature agl-offline-voice-agent - Feature template for meta-offline-voice-agent layer. -- Vosk Voice Model included: vosk-model-small-en-us +- Snips and RASA framework included. +- Vosk Voice Model included: vosk-model-small-en-us. -- cgit 1.2.3-korg