Publish a model draft

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:

  1. Open the model and select the Model accuracy figure in the header.
  2. Compare the Published model and Draft model cards.
  3. 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

  1. Open the model. The Draft badge next to the name confirms there are unpublished changes.
  2. Select Publish in the top right of the model header.

The model header with the Draft badge next to the name and the Publish button carrying an amber status dot

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.

The model header showing 90% (Published: 82%), a Review 2 examples pill and an open panel under Publish titled 2 examples need a correction, with the Review examples and Remove examples and publish buttons

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.

The header of the Order details extraction model with a Draft badge, the accuracy reading 91% (Published: 84%), and the Publish button with an amber dot

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.

Was this article helpful?

0 out of 0 found this helpful

0 comments

Please sign in to leave a comment.