models:teardown
rai models:teardown [OPTIONS]Drop the current model and all its managed data.
For Snowflake, removes only the selected model’s directly tagged RAI
objects under --force. Schemas, shared tags, and other models stay.
For JSONL, deletes the local oplog store.
Targets the current model (deployment.public_schema and its prefix or suffix
in raiconfig.yaml). Leaves the configuration untouched: afterwards,
deployment.public_schema still points to the removed model and is stale.
Update it to an existing model before using it again.
Options
| Option | Type | Description |
|---|---|---|
--force | Boolean | Remove the selected model’s RAI-owned objects and local replay state. Schemas are kept. Without this flag, only a preview is printed. Default: False. |