Publishing takes the changes sitting in your draft and makes them the version that processes live messages. Until you publish, incoming messages keep being handled by the version you published last.
This article covers publishing. If you are not sure what a draft is, read the "What is a model draft?" article first.
Before you publish
Check the draft against the published model before you commit to it:
- Open the model and select the Model accuracy figure in the header.
- Compare the Published model and Draft model cards.
- Select each card in turn and read the breakdown below it.
Look at the per-label (or per-entity) numbers, not only the total. A draft can raise overall accuracy while making one label less reliable, which matters if an automation depends on that label.
Publish the draft
- Open the model. The Draft badge next to the name confirms there are unpublished changes.
- Select Publish in the top right of the model header.
Tekst confirms with a Model published message. The Draft badge disappears, the status dot on the button turns green, the button reads Published, and the model starts processing new messages with the version you just published.
Publish is disabled when there is nothing to publish. Hovering it then tells you No unpublished changes.
When examples need a correction first
If you changed your labels or entities, some of the examples in your example set no longer line up with the new configuration. Tekst calls these missing corrections, and they have to be dealt with before the draft can go live, otherwise your accuracy figure would be measured against examples the model can no longer answer.
When that is the case, selecting Publish opens a panel instead of publishing, and a Review N examples pill appears next to the accuracy figure.
You have two ways forward:
- Review examples opens the correction flow so you can set the right label or value for each affected example. When you finish the batch, you land on a Ready to publish screen where Publish model completes the job.
- Remove examples and publish deletes those examples from your example set and publishes straight away. Use this when the examples are no longer worth keeping. It cannot be undone.
Closing the panel without choosing either option leaves the draft unpublished.
Correcting the examples is almost always the better option: each correction is a validated example that feeds back into the model, while removing one takes information away.
Publishing an extraction model
Extraction models work the same way. The header carries the same Draft badge, Publish button, and accuracy comparison.
Related articles
- To understand drafts, see the "What is a model draft?" article.
- To throw a draft away instead, see the "Discard a model draft" article.
- To go back to a version you published earlier, see the "View a model's version history" article.
0 comments
Please sign in to leave a comment.