-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
rasa train nlu
accepts domain
#6913
Conversation
I'll review tomorrow as it's too late today. If that's too late, please request somebody else :-) |
No rush, it will wait for you 😄 |
@@ -46,6 +46,7 @@ def set_train_core_arguments(parser: argparse.ArgumentParser): | |||
|
|||
def set_train_nlu_arguments(parser: argparse.ArgumentParser): | |||
add_config_param(parser) | |||
add_domain_param(parser, default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why making the default None
? get_validated_path
does a lot of magic and would automatically set it to None
in case the default path does not exist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that it's None
in rasa train nlu --help
, because we don't want to change the default behaviour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we wanna join the default behavior? And it doesn't change the default behavior anyway, right?
@@ -46,6 +46,7 @@ def set_train_core_arguments(parser: argparse.ArgumentParser): | |||
|
|||
def set_train_nlu_arguments(parser: argparse.ArgumentParser): | |||
add_config_param(parser) | |||
add_domain_param(parser, default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we wanna join the default behavior? And it doesn't change the default behavior anyway, right?
Closes #6635
Proposed changes:
rasa train nlu
accepts domainStatus (please check what you already did):
black
(please check Readme for instructions)