Give the model the task without demonstrations

Zero-shot prompting provides instructions and input without any completed examples in the prompt. It works as a baseline when the task has clear wording and a small number of outcomes. Describe what a correct answer must contain and make it clear where the source text begins.

Example 1. Label a message

Prompt the model to classify the message into Shipping, Billing or Other and return one label only. For the input “My package still hasn’t arrived,” Shipping is the intended label. Try a mixed message about both a delayed package and a refund, then decide which label should take precedence or add a review option.

Example 2. Summarize within a constraint

Ask for two short sentences that preserve the date and next action while leaving out names. Give the model a small fictional project note where one suggested date was rejected. Check that it copies the agreed date and does not invent one when a follow-up note lacks a date.

Example 3. Extract a field with a missing-value rule

Ask for the purchase order value exactly as written. Instruct the model to return null when the text gives no purchase order. A good test input includes an invoice number but no purchase order. Compare the output with the source character by character when the result will be used as a record identifier.

Evaluate before adding examples

Write down expected outputs for ten representative inputs and include an ambiguity or missing-value case. Track errors by category, such as the wrong label, extra text or unsupported details. Add a precise rule when instructions are unclear. If boundary cases still fail, use a few-shot prompt with carefully chosen demonstrations and rerun the same held-out set.

Related guides