-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
passing featurizer
and max_history
to agent.train(...)
is not supported anymore.
#6
Comments
@dilankadias I just checked my code and found that I actually left one parameter as per old version of Rasa Core, so thanks a lot for reporting this! :) . Since the release of Rasa Core v0.9.0 the parameter max_history has to be priovided directly to the policy, for example:
I forgot to make this change inside the train_init.py file and this is why it was failing. I have made a commit with an updated code so it should be fixed by now. Give it a go let me know if the problem persists :) |
@JustinaPetr : Thank you so much, I solved the issue. But I encountered another problem and I have sent you an email to your email address mentioned in your github account (juste@rasa.com). Can you please check your your email inbox? Thanks, |
(base) C:\Users\sumit\Desktop\Xtra1\chatbot\Python Bot\WeatherBot\Mybot>python dialogue_management_model.py (base) C:\Users\sumit\Desktop\Xtra1\chatbot\Python Bot\WeatherBot\Mybot>python dialogue_management_model.py Please help with this issue |
after passing the following parameter . |
I am having the same problem. |
The code is not working I got an errof "Featurizer is not defined" Please help with the issue. Thanks |
I ran into the same problem. Since I couldn’t find anything on the internet, I took a closer look at @JustinaPetr ’s GitHub repo and tried it out for myself with the help of her files. For me this example works perfect:
If you have problems with train_online.py, check out Justina's GitHub repo. She recently updated this Python script. |
from future import absolute_import import logging from rasa_core.agent import Agent if name == 'main':
For me commenting the max_history in agent.train method solved the issue |
if this change done then new error is appearing |
please share the latest code link where its fixed |
I get this error when I try to run python train_init.py. Please help!!
The text was updated successfully, but these errors were encountered: