wording fixes
This commit is contained in:
@@ -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`, {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user