-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
AS A Service-Module developer
I WANT server-side and integration logic that maintains a two-state training flag for intents
SO THAT the UI can show a clear green/red indicator and we can block publishing when intents are not trained
Acceptance Criteria
-
**Two statuses only:
- **
TRAINEDandNOT_TRAINED.
- **
-
**On create
- ** New intent →
status=NOT_TRAINED,needsTraining=true, recordlastModifiedAt.
- ** New intent →
-
**On change:
- ** Any training-relevant edit (examples, entities, responses, rules, synonyms, config that affects model) →
status=NOT_TRAINED,needsTraining=true, updatelastModifiedAt.
- ** Any training-relevant edit (examples, entities, responses, rules, synonyms, config that affects model) →
-
**On model switch:
- ** If the active model version changes and the intent is not included in that model for the environment → flip to
status=NOT_TRAINED(treat as not trained for that env).
- ** If the active model version changes and the intent is not included in that model for the environment → flip to
-
UI indicator contract:
- 🟢 Green – Trained ⇢status=TRAINEDandmodelVersion[env] == activeModelVersion[env]
- 🔴 Red – Not trained ⇢ otherwise
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Won't do