How a live speech request is served and billed, how the AI team manages and deploys every model, and how the logs those models produce flow back into a QA and finetuning loop — all on the new API Platform.
TTS is shown here for context, but its rollout will be planned separately once the ASR pipeline is finalised — it's early days, so nothing about TTS is committed yet.
Serving & logging a live request.
bodhi-api-platform (dev + prod)asr_events · tts_events — immutable, append-onlyloadModelsFromDB).The control plane — how the AI team manages & deploys models.
How logs become better models.
model_id + version + transaction_idmodel_id + version)The Platform DB stays lean; high-volume logs, mutable labels, and big binaries each get the right store. Nothing floods the Platform DB.
| Store | Holds | Mutable? | Detailed in |
|---|---|---|---|
Platform DBbodhi-api-platform / -prod | customers, API keys, dwarpal ledger, model catalog | yes | Model Management |
| ClickHouse | asr_events, tts_events — what models produced | no · append-only | Data Platform |
| bodhi-lc Postgres | LC scores, human corrections, datasets | yes | Data Platform |
| OCI registry (ECR / ACR) | models as encrypted, signed KitOps ModelKits (versioned) | no · immutable | Model Management |
| Blob / mount | audio & synthesized speech payloads | — | Both |
How parts 1 → 2 → 3 connect into one system.
Two identifiers connect the three planes.
Joins a single request across its ClickHouse event and its LC labels in bodhi-lc.
Joins logs and LC labels back to the exact entry in the model catalog.