問題タブ [rasa]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
599 参照

python - ImportError: 名前 'online' を 'rasa_core.training' からインポートできません

本のコードに従っていますが、オンライン トレーニングを実行しようとしているときにこのエラーが発生します。

完全なエラーは次のとおりです。

トレースバック (最新の呼び出しが最後): ファイル "train_online.py"、9 行目、rasa_core.training からインポート オンライン ImportError: 'rasa_core.training' から名前 'online' をインポートできません (C:\Users\Max\AppData\Local \Programs\Python\Python37\lib\site-packages\rasa_core\training__init__.py)

私のコードは次のとおりです。

0 投票する
5 に答える
4301 参照

python - RASA - rasa run actions - localhost issues

I am learning Rasa using the RASA masterclass youtube channel. https://www.youtube.com/channel/UCJ0V6493mLvqdiVwOKWBODQ

It has all worked until it has come to loading actions. Each time I use rasa run actions in the command prompt (the first of the two actions) the program gets stuck and I have to manually kill it. When I use rasa shell --endpoints endpoints.yml, bot works however as I keep encountering when I add in a custom action the server returns cannot connect to localhost like in the bottom example. The question is how to I get passed this issue.

*Please ask for additional info

:enter image description here

my actions.py looks like the below:

in domain.yml, for the actions section I have;

and in endpoints.yml, most is #'d out but the active bit is: