You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oms.publish_visualization(viz["id"]) # available for dashboards
99
-
```
100
-
101
-
Combine visualizations into **drag-and-drop dashboards** with resizable panels, lock/unlock layout, and persistent configuration. Each visualization also has a full **in-browser editor** (`/visualizations/{id}`) with Monaco, live preview for JSON backends, template insertion, and data/config tabs.
93
+
Combine visualizations into **drag-and-drop dashboards** with resizable panels, lock/unlock layout, and persistent configuration. Each visualization also has a full **in-browser editor** with Monaco, live preview for JSON backends, template insertion, and data/config tabs. See the [Visualizations Guide](docs/VISUALIZATIONS.md) for SDK usage.
@@ -115,16 +107,7 @@ openmodelstudio install iris-svm # Install a model
115
107
openmodelstudio list # List installed models
116
108
```
117
109
118
-
**From a notebook or script:**
119
-
```python
120
-
import openmodelstudio as oms
121
-
122
-
iris = oms.use_model("iris-svm") # Load from registry
123
-
handle = oms.register_model("my-iris", model=iris) # Register in project
124
-
job = oms.start_training(handle.model_id, wait=True) # Train it
125
-
```
126
-
127
-
`use_model()` resolves via the platform API, so it works inside workspace containers (K8s pods) without filesystem access. If the model isn't installed yet, it auto-installs from the registry. The web UI registry page shows **Installed** / **Not Installed** badges that stay in sync with CLI operations.
110
+
From notebooks or scripts, use `oms.use_model("iris-svm")` to load an installed model, then register and train it with the SDK. Works inside workspace containers via the platform API — no filesystem access needed. Install status syncs bidirectionally between CLI and UI. See the [Registry Guide](docs/CLI-REGISTRY.md) for full SDK usage.
0 commit comments