Save
Save
lets you save charts, models, and workflows so you can refer to them in the same session or use them in a different session. If you've loaded datasets in a session, you can save them as a database to which you can connect later and share with other users. Note that Save
is different from Export
. Save
saves the chart, model, workflow, or datasets into DataChat for later use, while Export
downloads a file to your machine.
After you save a chart, model, or workflow, you can return to them using List
, Predict
to run a saved model on a dataset, and Replay
to re-run a workflow.
Format
Save
has several formats:
Save the current session as a (snapshot <name> adding the datasets <datasets> | workflow <name>)
. Saves the current session as a snapshot or workflow with the given name.Save the active datasets as a workflow <name>
. Saves the active datasets as a workflow.Save the model <model> as <name>
. Saves the specified model with a new name.Save this session as a version of <name>
. Saves the session as a version of an existing workflow.
Parameters
Save
uses the following parameters:
datasets
(optional). The datasets to save as a snapshot.model
(required). The name of the model to save.name
(required). The name to give the saved object.
Output
If the object is saved successfully, the system returns a success message.
If the object is not saved, the system returns an error message.
Examples
To save the current model, enter Save the model as MyModel
.
To save the current session as a workflow, enter Save the current session as a workflow MyWorkflow
.