You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""builds a Rasa NLU yaml file from your project data via the client object.
113
+
114
+
Args:
115
+
client (Client): connected Client object for your project
116
+
text_name (str): name of the text/chat field
117
+
intent_label_task (str): name of the classification label with the intents
118
+
metadata_label_task (Optional[str], optional): if you have a metadata task (e.g. sentiment), you can list it here. Currently, only one is possible to provide. Defaults to None.
119
+
tokenized_label_task (Optional[str], optional): if you have a token-level task (e.g. for entities), you can list it here. Currently, only one is possible to provide. Defaults to None.
120
+
dir_name (str, optional): name of your rasa data directory. Defaults to "data".
121
+
file_name (str, optional): name of the file you want to store the data to. Defaults to "nlu.yml".
122
+
constant_outside (str, optional): constant to be used for outside labels in token-level tasks. Defaults to CONSTANT_OUTSIDE.
123
+
version (str, optional): Rasa version. Defaults to "3.1".
124
+
"""
125
+
msg.info("Building training data for Rasa")
126
+
msg.warn("If you haven't done so yet, please install rasa and run `rasa init`")
0 commit comments