wording fixes

This commit is contained in:
Roberto Treviño Cervantes
2026-11-17 02:17:24 -06:00
parent 2834fac85c
commit dc37c54938
11 changed files with 304 additions and 7 deletions
+7
View File
@@ -32,6 +32,13 @@ export class GovernanceApi {
return this.http.post<ModelVersion>(`/governance/model-versions/${domain}/${scenario}/${version}/promote`, {});
}
/** Exports the scenario's latest dbt cohort build, trains a PROD version and tries to promote it, the same
* one-shot pipeline the `entrenar` compose profile runs. 409 when it trained but needs its reports attached
* before it can be promoted; 503 with no dbt manifest configured or an operational failure. */
trainModelVersion(domain: string, scenario: string): Observable<{ output: string }> {
return this.http.post<{ output: string }>(`/governance/model-versions/${domain}/${scenario}/train`, {});
}
retireModelVersion(domain: string, scenario: string, version: string): Observable<ModelVersion> {
return this.http.post<ModelVersion>(`/governance/model-versions/${domain}/${scenario}/${version}/retire`, {});
}