AI Dictionary › Prompting
Ancoraggio del Formato
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.
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.
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
📱 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.