Dump an AI app with its evaluation runs, or all entities to a directory.
Usage
lf dump [OPTIONS] COMMAND [ARGS]...
Options
Name
Type
Description
Default
--app, -a
text
Key of the AI app to dump. Defaults to the current context.
--to, -t
path
Directory to write the dump to. Created if it does not exist. Overwritten if it exists.
--with-secrets
boolean
Include secret values in the dumped evaluation run bundles so the restored bundles are usable without re-entering credentials. Secrets will be recreated as secrets and will remain available for the tenant. Requires admin permissions.
Dump all global entities (models, tasks, evaluations, risk scorers, etc.) to a directory. The dump can be restored on the same or a different instance with lf restore entities.
Usage
lf dump entities [OPTIONS]
Options
Name
Type
Description
Default
--to, -t
path
Directory to write the dump to. Created if it does not exist. Overwritten if it exists.