Skip to main content

Instructions

Instructions tell an LLM-based model in plain words how to read your documents.

Adding instructions​

The Instructions page is in the sidebar of LLM-based extraction and classification models. Add instruction adds a line; each line is one rule. A switch turns a line off without deleting it, and lines can be dragged into a different order. Instructions only change in Latest.

The model reads every line that is switched on, together with the descriptions of its labels and its samples.

Writing good instructions​

Good instructions describe what a new colleague would need to know about your documents:

  • Dates on these documents are written day first, such as 03-11-2026.
  • When an order shows both an order number and a reference, the order number starts with PO.
  • Leave Description empty when a line only holds a product code.

Keep each line short and about one thing. When a model keeps making the same mistake, an instruction often fixes it faster than more samples.

Instructions and versions​

Saving a version freezes its instructions with it. Projects that use Always the latest of an LLM-based model follow Latest, so a change to an instruction counts in their next prediction. See Versions.

Filter models​

Filter models keep their instructions under Config › Instructions instead.