Loads the `Domain` from a YAML file.
(cls, path: Text)
| 205 | |
| 206 | @classmethod |
| 207 | def from_file(cls, path: Text) -> "Domain": |
| 208 | """Loads the `Domain` from a YAML file.""" |
| 209 | return cls.from_yaml(rasa.shared.utils.io.read_file(path), path) |
| 210 | |
| 211 | @classmethod |
| 212 | def from_yaml(cls, yaml: Text, original_filename: Text = "") -> "Domain": |