rasa/core/domain.py
def persist_specification(self, model_path: Text) -> None:
        """Persists the domain specification to storage."""

        domain_spec_path = os.path.join(model_path, 'domain.json')
        utils.create_dir_for_file(domain_spec_path)

        metadata = {
            "states": self.input_states
        }
        utils.dump_obj_as_json_to_file(domain_spec_path, metadata)
Persists the domain specification to storage.
Persists the domain specification to storage.
Persists the domain specification to storage .
def persist_specification(self, model_path: Text) -> None:
        domain_spec_path = os.path.join(model_path, 'domain.json')
        utils.create_dir_for_file(domain_spec_path)
        metadata = {
            "states": self.input_states
        }
        utils.dump_obj_as_json_to_file(domain_spec_path, metadata)
def persist_specification ( self , model_path : Text ) -> None : domain_spec_path = os . path . join ( model_path , 'domain.json' ) utils . create_dir_for_file ( domain_spec_path ) metadata = { "states" : self . input_states } utils . dump_obj_as_json_to_file ( domain_spec_path , metadata )
Persists the domain specification to storage.
Persists the domain specification to storage .
"""Persists the domain specification to storage."""
self
model_path
Text