AI Dictionary › Prompting

Format Anchoring

Ancoraggio del Formato

Definition

Format anchoring is showing the model a concrete example of the desired output format — a filled or partially filled template — so it "anchors" its response to that exact shape. It is far more effective than describing the format in words. Example prompt: "Answer EXACTLY in this format:\ Company: <name>\ Risk: <high|medium|low>\ Reason: <one sentence>\ \ Now analyse this company: ...". By giving the skeleton with placeholders, the model fills the fields without inventing structure, and the output becomes uniform and parsable.

Use it when you need a rigid, repeatable format across many inputs: cards, table rows, standardised replies. Anchoring with an example curbs format drift far better than instructions alone, and pairs well with few-shot and structured output.

Definizione (italiano)

Il format anchoring è la tecnica di mostrare al modello un esempio concreto del formato di output desiderato — un template compilato o parzialmente compilato — così che "ancori" la sua risposta a quella forma esatta. È molto più efficace di descrivere il formato a parole. Esempio di prompt: "Rispondi ESATTAMENTE in questo formato:\ Azienda: <nome>\ Rischio: <alto|medio|basso>\ Motivazione: <una frase>\ \ Ora analizza questa azienda: ...". Fornendo lo scheletro con i segnaposto, il modello riempie i campi senza inventare struttura, e l'output diventa uniforme e parsabile.

Usalo quando ti serve un formato rigido e ripetibile su molti input: schede, righe di tabella, risposte standardizzate. Ancorare con un esempio riduce le derive di formato molto più delle sole istruzioni, e si combina benissimo con few-shot e output strutturato.

Related terms

More in Prompting

From our network

HSE Genius — AI for Safety Data Sheets

Extract SDS data, H phrases and ECHA compliance checks in seconds, powered by AI.

Visit hsegenius.com →

From the Agora Intelligence blog

More on agora-intelligence.com →

📱 Download the Android app (beta) iOS coming soon

Say what you mean. Get what you need.

Grace Certified — the AI coach that trains and certifies your prompt engineering — by Agora Intelligence.