Version: 2.0.x

rasa.core.train

train_comparison_models

async train_comparison_models(story_file: Text, domain: Text, output_path: Text = "", exclusion_percentages: Optional[List] = None, policy_configs: Optional[List] = None, runs: int = 1, additional_arguments: Optional[Dict] = None)

Train multiple models for comparison of policies

get_no_of_stories

async get_no_of_stories(story_file: Text, domain: Text) -> int

Get number of stories in a file.