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 --- .../python3-rasa/python3-rasa_3.6.4.bb | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa_3.6.4.bb (limited to 'meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa_3.6.4.bb') diff --git a/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa_3.6.4.bb b/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa_3.6.4.bb new file mode 100644 index 00000000..1038fc36 --- /dev/null +++ b/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa_3.6.4.bb @@ -0,0 +1,81 @@ +SUMMARY = "Open source machine learning framework to automate text- and voice-based conversations" +HOMEPAGE = "https://github.com/RasaHQ/rasa" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=930bc50f846c55c70b79b78055ae3d9b" + +PYPI_PACKAGE = "rasa" + +SRC_URI += " \ + file://0001-rasa-remove-group-from-poetry-as-its-not-supported.patch \ +" +SRC_URI[md5sum] = "7aab346588a3056b54ff783357e4d081" +SRC_URI[sha256sum] = "21e57a99bdec8d9f36f7828985c8e3fb3bf3b2c3c94a856d3006e0a68b41a399" + +inherit pypi python_poetry_core + +RDEPENDS:${PN} += " \ + python3-requests \ + python3-matplotlib \ + python3-absl \ + python3-tqdm \ + python3-numpy \ + python3-pyyaml \ + python3-aiohttp \ + python3-attrs \ + python3-websockets \ + python3-typing-extensions \ + python3-pytz \ + python3-protobuf \ + python3-regex \ + python3-pydot \ + python3-packaging \ + python3-jsonschema \ + python3-networkx \ + python3-ujson \ + python3-dateutil \ + python3-portalocker \ + python3-pluggy \ + python3-pykwalify \ + python3-sentry-sdk \ + python3-pymongo \ + python3-sqlalchemy \ + python3-socketio \ + python3-cachecontrol \ + python3-google-auth \ + tensorflow \ + python3-typing-utils \ + python3-aiogram \ + python3-aio-pika \ + python3-joblib \ + python3-scipy \ + python3-scikit-learn \ + python3-sklearn-crfsuite \ + python3-jsonpickle \ + python3-ruamel.yaml \ + python3-structlog \ + python3-structlog-sentry \ + python3-tarsafe \ + python3-terminaltables \ + python3-sanic \ + python3-sanic-cors \ + python3-sanic-jwt \ + python3-sanic-routing \ + python3-randomname \ + python3-questionary \ + python3-rasa-sdk \ + python3-fbmessenger \ + python3-slack-sdk \ + python3-babel \ + python3-twilio \ + python3-webexteamssdk \ + python3-apscheduler \ + python3-boto3 \ + python3-dask \ +" + +do_install:append() { + # Remove README and LICENSE from the site-packages directory as they shouldn't be placed there, + # it causes conflicts. + rm -f ${D}${libdir}/python3.10/site-packages/README.md + rm -f ${D}${libdir}/python3.10/site-packages/LICENSE.txt +} -- cgit 1.2.3-korg