Hi All, I would like to test ‘formbot’ example in Jupyter Notebook provided by RASA in the following link;
When I run the cell related to “Training your Dialogue Model”, I got an error. The cell is
from rasa_core.policies import KerasPolicy, MemoizationPolicy from rasa_core.agent import Agent # there is a threshold for the NLU predictions as well as the action predictions agent = Agent('domain.yml', policies=[MemoizationPolicy(), KerasPolicy()]) # loading our neatly defined training dialogues training_data = agent.load_data('stories.md') agent.train( training_data, validation_split=0.0, epochs=10 ) agent.persist('models/dialogue')
and the error is ;
TypeError: init() got an unexpected keyword argument ‘auto_fill’
I think I have to add FormPolicy in this snippet somewhere but I dont know. Could you please help me to fix it?