Show examples and the format you want
We tested how much ChatGPT and Gemini copy from an example, and what one line changes. What studies found about examples, format and length, and where the vendors' advice differs.
About 9 minutes (editor's estimate) · Updated 2026-10-19
An example shows a tool what you want faster than a description: the length, the tone, how much detail. It also invites copying. In our test, both ChatGPT and Gemini reused whole sentences from a single example reply. One line asking them not to stopped Gemini; ChatGPT still kept the example's opening words in most runs.
What we measured
We gave ChatGPT and Gemini a 79-word reply we had sent a customer whose order arrived late, and asked for a reply in the same style to a new customer, who had been sent a rain jacket in the wrong size.
Both reused sentences from the example in every run: 3 of 5 sentences for ChatGPT and 3 of 5 for Gemini. "That is not the service we want you to have." and "If anything else goes wrong, reply to this email and I will sort it out myself." went word for word to a different customer with a different problem, and each of these replies opened the way the example did: "Thank you for letting us know, and I'm sorry".
We added one line: "Use the example only for its tone and length; do not reuse its sentences." Gemini then reused none in 3 of 3 runs. ChatGPT reused none in 1 of 3; the others still opened with "Thank you for letting us know, and I'm sorry".
The facts did not travel: no reply mentioned the example's €10 credit or its warehouse in Leipzig, and every reply had the new case's facts right. The replies ran a little longer than the example: with the line, 83–90 words for ChatGPT and 99–106 for Gemini.
Our test · 2026-10-19
A customer reply written from an example
Given one earlier reply as an example, do ChatGPT and Gemini reuse its sentences in a reply to a different customer, and does one line telling them not to change that?
An earlier reply to a customer whose order arrived late (79 words), given as the example, and the facts of a new case: a rain jacket sent in the wrong size, the right size going out today by express delivery, free of charge, and the customer can keep the wrong one. Asked for a reply in the same style two ways: plainly, and with the line "Use the example only for its tone and length; do not reuse its sentences." Each run was a new temporary chat.
- Given an example
- 3 of 3 reused sentences from the example
- example sentences reused: 3 of 5
- words in the reply: 83–96
- Given an example, told to use it only for tone and length
- 2 of 3 reused sentences from the example
- 1 of 3 reused none of them
- example sentences reused: 0–1 of 5
- words in the reply: 83–90
- Given an example
- 3 of 3 reused sentences from the example
- example sentences reused: 3 of 5
- words in the reply: 91–94
- Given an example, told to use it only for tone and length
- 3 of 3 reused none of them
- example sentences reused: 0 of 5
- words in the reply: 99–106
What each run was given
- Given an example
Here is a reply we sent to a customer last week. Write a reply to the new customer below in the same style.
- Given an example, told to use it only for tone and length
Here is a reply we sent to a customer last week. Write a reply to the new customer below in the same style. Use the example only for its tone and length; do not reuse its sentences.
What this test cannot show
- One example and one new case; three runs per tool and request.
- Reusing a sentence is not always a fault: a team may want its standard lines. The test counts it; whether it matters depends on how many customers get the same words.
All 12 runs, with their logs
- chatgpt-example-1.txt reused sentences from the example · example sentences reused: 3 · words in the reply: 86
- chatgpt-example-2.txt reused sentences from the example · example sentences reused: 3 · words in the reply: 96
- chatgpt-example-3.txt reused sentences from the example · example sentences reused: 3 · words in the reply: 83
- chatgpt-limit-1.txt reused none of them · example sentences reused: 0 · words in the reply: 86
- chatgpt-limit-2.txt reused sentences from the example · example sentences reused: 1 · words in the reply: 90
- chatgpt-limit-3.txt reused sentences from the example · example sentences reused: 1 · words in the reply: 83
- gemini-example-1.txt reused sentences from the example · example sentences reused: 3 · words in the reply: 91
- gemini-example-2.txt reused sentences from the example · example sentences reused: 3 · words in the reply: 93
- gemini-example-3.txt reused sentences from the example · example sentences reused: 3 · words in the reply: 94
- gemini-limit-1.txt reused none of them · example sentences reused: 0 · words in the reply: 99
- gemini-limit-2.txt reused none of them · example sentences reused: 0 · words in the reply: 106
- gemini-limit-3.txt reused none of them · example sentences reused: 0 · words in the reply: 99
What studies found
What examples teach most is form. At EMNLP 2022, researchers replaced the answers in the examples of classification and multiple-choice prompts with random ones: in nearly all of the 12 models tested, scores fell by only 0–5% absolute. The examples mattered for what they showed besides the answers: the possible labels, the kind of input and the overall format. Large models do follow content too: in a 2023 preprint by Google researchers, when every example's answer was flipped, text-davinci-002 went from 90.3% to 22.5%, following the examples against what it knew.
Reasoning models can do worse with examples. In a 2024 preprint, Microsoft researchers found that five examples lowered the performance of OpenAI's o1-preview on medical questions. DeepSeek reported in Nature in 2025 that examples consistently degraded its reasoning model, DeepSeek-R1, and recommends describing the problem and the output format without them. OpenAI says its reasoning models often do not need examples, so try without first; examples you do add should match your instructions closely.
The vendors' advice differs. Google recommends always including examples in prompts to Gemini, but warns that too many can make the model overfit its response to them. Anthropic's developer guide suggests three to five varied examples, so that Claude does not pick up unintended patterns; its article for app users says to start with one, and notes that Claude 4.x pays very close attention to details in examples. OpenAI's guide for GPT-4.1 names what we saw in our test: given sample phrases, models can use them verbatim and start to sound repetitive, so tell the model to vary them.
The shape of a prompt matters more than it should. At ICLR 2024, researchers changed only the formatting of prompts that contained examples, keeping the meaning the same: scores moved by up to 76 accuracy points with one open model, and by a median of 6.4 points with GPT-3.5 across 320 formats. Adding more examples did not remove the effect. The study used older models on classification and multiple-choice tasks.
Models are better at guessing format than other requirements. In a study of developer prompts (Findings of ACL 2026), models met unstated requirements about format in 70.7% of cases, against 41.1% for unstated requirements on average. Following a stated rule exactly is harder than it looks. On IFBench (NeurIPS 2025), 58 new output rules covering counting, formatting and copying, leading models such as GPT-4.1 and Claude 3.7 Sonnet scored below 50%. Length is the weak spot: on LIFEBench (NeurIPS 2025), asked for an exact number of words, 23 of 26 models scored below 60 out of 100, while with an upper limit 19 of them scored above 90. The authors found that the models cannot accurately count the words they have written.
What to do
- Say what to take from the example and what to leave:
Use the example only for its tone and length; do not reuse its sentences.- Read the result for sentences lifted from the example before it goes to anyone, especially to customers. With the line, ChatGPT still kept the example's opening in 2 of 3 runs.
- Start with one example. Add more only if the result still misses, and make them differ from each other, so the tool picks up what they share rather than the details of one.
- With a reasoning mode, try describing the format without an example first, as OpenAI and DeepSeek advise.
- Name the format in terms you can check: a table with these columns, five bullet points. For length, give an upper limit ("under 100 words") rather than an exact count, and count the words yourself.
- Remove names, order numbers and other private details from the example; it is sent to the tool too. Then check the facts as well as the shape: a reply in the right format can still contain a wrong detail.
Watch
An OpenAI marketer pulls product docs, research and meeting notes into a launch blog draft that follows a set template, then reviews and updates it as details change.
Practice
- Find one reply or text you wrote that you were happy with, and remove names and private details.
- In a new temporary chat, give it as an example for a new, similar task. In another, add the line above.
- In both answers, mark every sentence that matches your example word for word. Which one could you send as it is?
At the end you should have a reply in your own style, and a line that keeps the example from being copied.
Finished the practice?
Progress is saved in this browser only. Clearing your browser data removes it.
Sources
- Quantifying Language Models’ Sensitivity to Spurious Features in Prompt Design (ICLR 2024, on arXiv, read 2026-10-19)
- What Prompts Don’t Say: Understanding and Managing Underspecification in LLM Prompts (Findings of ACL 2026, read 2026-10-19)
- Rethinking the Role of Demonstrations: What Makes In-Context Learning Work? (Proceedings of EMNLP 2022, read 2026-10-19)
- Larger language models do in-context learning differently (arXiv (preprint), read 2026-10-19)
- From Medprompt to o1: Exploration of Run-Time Strategies for Medical Challenge Problems and Beyond (arXiv (preprint), read 2026-10-19)
- DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning (Nature, read 2026-10-19)
- Reasoning best practices (OpenAI, read 2026-10-19)
- Prompt design strategies (Google, read 2026-10-19)
- Prompting best practices (Anthropic, read 2026-10-19)
- Best practices for prompt engineering for 2026 (Anthropic, read 2026-10-19)
- GPT-4.1 Prompting Guide (OpenAI, read 2026-10-19)
- Generalizing Verifiable Instruction Following (NeurIPS 2025 Datasets and Benchmarks, on arXiv, read 2026-10-19)
- LIFEBench: Evaluating Length Instruction Following in Large Language Models (NeurIPS 2025 Datasets and Benchmarks, on arXiv, read 2026-10-19)