summaryrefslogtreecommitdiffstats
path: root/templates/feature
diff options
context:
space:
mode:
authorMalik Talha <talhamalik727x@gmail.com>2023-10-06 23:42:08 +0500
committerMalik Talha <talhamalik727x@gmail.com>2023-10-06 23:42:08 +0500
commit7b4a029168133bbf58c5dfe97e618badfe77b361 (patch)
treeb8f63ff4baec31ba5ca7feb815869b30ccc653ba /templates/feature
parent713efdf66dca8e60c3db1e720a9bb2bd074c40f3 (diff)
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 <talhamalik727x@gmail.com>
Diffstat (limited to 'templates/feature')
-rw-r--r--templates/feature/agl-offline-voice-agent/50_local.conf.inc20
-rw-r--r--templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md5
2 files changed, 20 insertions, 5 deletions
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 <aman.arora9848@gmail.com>
+authors: Malik Talha <talhamalik727x@gmail.com>, Aman Arora <aman.arora9848@gmail.com>
---
### 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.