user:rolf001:rasa:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| user:rolf001:rasa:start [2023/09/22 09:21] – removed - external edit (Unknown date) 127.0.0.1 | user:rolf001:rasa:start [2023/09/22 09:21] (current) – ↷ Page moved from rolf:start to user:rolf001:rasa:start rolf.becker | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Rolf's Page ====== | ||
| + | |||
| + | ===== RASA ===== | ||
| + | |||
| + | <code bash> | ||
| + | # 2023-09-20 (=> Python 3.8 or 3.7) | ||
| + | |||
| + | conda create -n rasa python=3.8 | ||
| + | conda activate rasa | ||
| + | |||
| + | pip3 install -U pip | ||
| + | |||
| + | pip install rasa | ||
| + | # pip install rasa==3.0 | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | |||
| + | ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. | ||
| + | tensorflow==2.12.0 from https:// | ||
| + | Expected sha256 23850332f1f9f778d697c9dba63ca52be72cb73363e75ad358f07ddafef63c01 | ||
| + | | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round important 60%> | ||
| + | Dirty workaround: \\ | ||
| + | Ingore the error and install again. \\ | ||
| + | The error does not occur anymore. NOT RELIABLE! | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | pip install rasa | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | rasa init # -> folder bot | ||
| + | rasa train | ||
| + | rasa shell # to stop: /stop | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | # THIS VERSION COMBINATION DOES NOT WORK FOR ME! | ||
| + | # conda deactivate | ||
| + | # conda env remove -n rasa | ||
| + | conda create -n rasa python=3.8 | ||
| + | conda activate rasa | ||
| + | pip install rasa==3.0 | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | # To distribute downloaded RASA example files | ||
| + | |||
| + | cp ~/ | ||
| + | cp ~/ | ||
| + | |||
| + | cp ~/ | ||
| + | cp ~/ | ||
| + | cp ~/ | ||
| + | </ | ||
| + | |||