Import/Export
Exporting project
You can export your project’s domain, stories, nlu, conversations and incoming utterances created within the Clai to a zip file.
Head to the project settings menu > select Import/Export > Export tab > Click on Export project for Rasa or Clai.
When you export a project, links and branches are preserved in the md
files so you can re-import these files and keep it organised.
You will get a zip file containing all the required files:
clarity-project
├──data/
│ ├──nlu.md
│ └──stories.md
├──domains.yml
A few things to keep in mind:
NLU
Consider removing Clai specific NLU components, such as rasa_addons.nlu.components.gazette.Gazette
.
Importing the exported project
You can import the exported project zip file from your local disk to same project or other project within Clai.
Head to the project settings menu > select Import/Export > Import tab > Open File Browser > choose the zip file which you wants to import.
Once the zip file is selected then stories.yml, nlu.json and domain.yml files will be displayed and you can remove/deselect the unwanted files.
Delete existing data
This will clear the existing data for the type of data you are importing.
Ex: Importing stories will remove the previous stories, but keep everything else, nlu, responses etc.
Reset project
This will remove all project’s data including conversations before importing.
Once you have imported your files your stories will be accessible in the visual story editor.