Processed Story Blocks: 100%|██████████| 19/19 [00:00<00:00, 637.54it/s, # trackers=1]
Processed Story Blocks: 100%|██████████| 19/19 [00:00<00:00, 284.42it/s, # trackers=16]
Processed Story Blocks: 100%|██████████| 19/19 [00:00<00:00, 227.21it/s, # trackers=15]
Processed Story Blocks: 100%|██████████| 19/19 [00:00<00:00, 190.55it/s, # trackers=18]
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-9-ec4aa28a3bd6> in <module>
13 training_data,
14 validation_split=0.1,
---> 15 epochs = 10
16 )
17
/usr/local/lib/python3.6/site-packages/rasa_core/agent.py in train(self, training_trackers, **kwargs)
499 if kwargs.get('epochs') or kwargs.get('max_history') or kwargs.get(
500 'batch_size'):
--> 501 raise Exception("Passing policy configuration parameters "
502 "to `agent.train(...)` is not supported "
503 "anymore. Specify parameters directly in the "
Exception: Passing policy configuration parameters to `agent.train(...)` is not supported anymore. Specify parameters directly in the policy configuration instead. More info https://rasa.com/docs/core/migrations.html
agent.train(
training_data,
validation_split=0.1
)
!{python} -m rasa_core.evaluate -d models/dialogue -s ../../bot/data/stories -o matrix.pdf --failed
failed_stories.md
/usr/local/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.2) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
usage: evaluate.py [-h] {default,compare} ...
evaluate.py: error: unrecognized arguments: -d models/dialogue --failed failed_stories.md