The following is a set of instructions that have been tested in our labs to implement the RASA component of Aria. The instructions are meant to lay down RASA 3.0.6 on a Windows environment running Python 3.8.0, per the existing documentation.
CA Service Desk Manager 17.3 and higher
xFlow/Service Point
Materials are assumed to be contained in the "C:\VA" directory, under which the "casm-bot" subfolder exists. One must utilise Powershell in Admin command mode for the commands to work optimally.
cd c:\va
python -m venv ./botenv
.\botenv\Scripts\activate
python -m pip install --upgrade pip
pip install rasa
pip install rasa[spacy]
pip install websockets
pip install protobuf
pip install packaging
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
pip install rasa==3.0.6
pip install websockets==10.0
pip install protobuf==3.19.0
pip install packaging==20.9
pip install -U pip setuptools wheel
pip install -U spacy
python -m spacy download en_core_web_md
python -m spacy link en_core_web_md en
python -m spacy download de_core_news_md
python -m spacy link de_core_news_md de
python -m spacy download es_core_news_md
python -m spacy link es_core_news_md es
python -m spacy download fr_core_news_md
python -m spacy link fr_core_news_md fr
python -m spacy download it_core_news_sm
python -m spacy link it_core_news_sm it
python -m spacy download pt_core_news_sm
python -m spacy link pt_core_news_sm pt
cd casm-bot
.\rasa_train
.\rasa_run
Whenever one needs to start a new instance of RASA, one must first activate the virtual environment. The virtual environment is a requirement to run RASA and cannot be circumvented.
To start up a new instance of the RASA process, assuming a similar environment configuration as the above documentation, go into an Admin Command Prompt or Admin Powershell, then run:
cd c:\va
.\botenv\Scripts\activate
Then one must ensure there are no other instances of RASA running. First change directory to casm_bot then run rasa_halt to stop any existing RASA processes
cd casm-bot
.\rasa_halt
Finally, one can train/run rasa. While still in casm_bot directory, run
.\rasa_train
.\rasa_run
As of this writing, Aug, 2023, the following is a full list of all components (by running "pip list") that are downloaded and installed on a testing environment from which the above scripting was tested
Package Version
---------------------------- ---------
absl-py 0.13.0
aio-pika 6.8.2
aiofiles 23.2.1
aiogram 2.25.1
aiohttp 3.7.4
aiohttp-retry 2.8.3
aiormq 3.3.1
aiosignal 1.3.1
annotated-types 0.5.0
APScheduler 3.7.0
astunparse 1.6.3
async-generator 1.10
async-timeout 3.0.1
attrs 21.2.0
Babel 2.9.1
backports.zoneinfo 0.2.1
bidict 0.22.1
blis 0.7.10
boto3 1.28.32
botocore 1.31.32
CacheControl 0.12.14
cachetools 5.3.1
catalogue 2.0.9
certifi 2023.7.22
cffi 1.15.1
chardet 3.0.4
charset-normalizer 3.2.0
clang 5.0
click 8.1.7
cloudpickle 1.6.0
colorama 0.4.6
colorclass 2.2.2
coloredlogs 15.0.1
colorhash 1.0.4
confection 0.1.1
confluent-kafka 2.2.0
contourpy 1.1.0
cryptography 41.0.3
cycler 0.11.0
cymem 2.0.7
dask 2021.11.2
decorator 5.1.1
dm-tree 0.1.8
dnspython 1.16.0
docopt 0.6.2
en-core-web-md 3.6.0
fbmessenger 6.0.0
fire 0.5.0
flatbuffers 1.12
fonttools 4.42.1
frozenlist 1.4.0
fsspec 2023.6.0
future 0.18.3
gast 0.4.0
google-auth 2.22.0
google-auth-oauthlib 1.0.0
google-pasta 0.2.0
greenlet 2.0.2
grpcio 1.57.0
h5py 3.1.0
html5tagger 1.3.0
httptools 0.6.0
humanfriendly 10.0
idna 3.4
importlib-metadata 6.8.0
importlib-resources 6.0.1
jax 0.4.13
Jinja2 3.1.2
jmespath 1.0.1
joblib 1.0.1
jsonpickle 2.0.0
jsonschema 3.2.0
jsonschema-specifications 2023.7.1
kafka-python 2.0.2
keras 2.6.0
Keras-Preprocessing 1.1.2
kiwisolver 1.4.4
langcodes 3.3.0
libclang 16.0.6
locket 1.0.0
magic-filter 1.0.11
Markdown 3.4.4
MarkupSafe 2.1.3
matplotlib 3.3.4
mattermostwrapper 2.2
ml-dtypes 0.2.0
msgpack 1.0.5
multidict 5.2.0
murmurhash 1.0.9
networkx 2.6.3
numpy 1.19.5
oauthlib 3.2.2
opt-einsum 3.3.0
packaging 20.9
pamqp 2.3.0
partd 1.4.0
pathy 0.10.2
Pillow 10.0.0
pip 23.2.1
pkgutil_resolve_name 1.3.10
pluggy 1.2.0
portalocker 2.7.0
preshed 3.0.8
prompt-toolkit 2.0.10
protobuf 3.19.0
psycopg2-binary 2.9.7
pyasn1 0.5.0
pyasn1-modules 0.3.0
pycparser 2.21
pydantic 1.10.9
pydantic_core 2.6.1
pydot 1.4.2
PyJWT 2.8.0
pykwalify 1.8.0
pymongo 3.10.1
pyparsing 3.1.1
pyreadline3 3.4.1
pyrsistent 0.19.3
pyTelegramBotAPI 3.8.3
python-crfsuite 0.9.9
python-dateutil 2.8.2
python-engineio 4.6.0
python-socketio 5.8.0
pytz 2021.3
pywin32 306
PyYAML 6.0.1
questionary 1.10.0
randomname 0.1.5
rasa 3.0.6
rasa-sdk 3.0.4
redis 3.5.3
referencing 0.30.2
regex 2021.8.28
requests 2.31.0
requests-oauthlib 1.3.1
requests-toolbelt 1.0.0
rocketchat-API 1.16.0
rpds-py 0.9.2
rsa 4.9
ruamel.yaml 0.16.13
ruamel.yaml.clib 0.2.7
s3transfer 0.6.2
sanic 21.9.3
Sanic-Cors 1.0.1
sanic-jwt 1.8.0
sanic-plugin-toolkit 1.2.1
sanic-routing 0.7.2
scikit-learn 0.24.2
scipy 1.10.1
sentry-sdk 1.3.1
setuptools 68.1.2
six 1.15.0
sklearn-crfsuite 0.3.6
slack-sdk 3.21.3
slackclient 2.9.4
smart-open 6.3.0
spacy 3.6.1
spacy-legacy 3.0.12
spacy-loggers 1.0.4
SQLAlchemy 1.4.49
srsly 2.4.7
structlog 23.1.0
structlog-sentry 2.0.3
tabulate 0.9.0
tarsafe 0.0.3
tensorboard 2.13.0
tensorboard-data-server 0.7.1
tensorflow 2.6.1
tensorflow-addons 0.14.0
tensorflow-estimator 2.6.0
tensorflow-hub 0.12.0
tensorflow-intel 2.13.0
tensorflow-io-gcs-filesystem 0.31.0
tensorflow-probability 0.13.0
termcolor 1.1.0
terminaltables 3.1.10
thinc 8.1.12
threadpoolctl 3.2.0
toolz 0.12.0
tqdm 4.66.1
tracerite 1.1.0
twilio 6.50.1
typeguard 2.13.3
typer 0.9.0
typing_extensions 4.7.1
typing-utils 0.1.0
tzdata 2023.3
tzlocal 2.1
ujson 4.3.0
urllib3 1.26.16
wasabi 1.1.2
wcwidth 0.2.6
webexteamssdk 1.6.1
websockets 10.0
Werkzeug 2.3.7
wheel 0.41.2
wrapt 1.12.1
yarl 1.9.2
zipp 3.16.2