Skip to content

How to Get ChatGPT to Follow Your Worksheet Format

Overhead view of a teacher's desk with a ruled worksheet, a pencil and a laptop with a blank glowing screen.

Language teachers can get ChatGPT to follow a worksheet format by pasting one finished example of the item and telling it to copy the format exactly with new content. A short vocabulary entry, dialog or exercise item makes layout and length more repeatable than a paragraph of description. It fixes the format, not the accuracy, so check the content before learners see it.

How do you get ChatGPT to follow the format you want with few-shot prompting?

You show it one finished item and ask for the same format with different content. Prompt engineers call this few-shot prompting, and OpenAI's own prompt engineering guide describes it as steering a model toward a task by including a handful of input/output examples. For a language teacher the "task" is usually mundane, such as a vocabulary entry with the fields you like, a dialog with your speaker labels, or a gap-fill item with the verb in brackets.

A word on how far to trust this. Models differ and versions change, and a described format will sometimes come out right. An example makes the good result repeatable. Also note that the prompts in this post are untested templates: we built them for ChatGPT but have not recorded runs of them, so adapt them and check what you get.

The pattern has three parts. You say what you want, you paste the example under a clear label, and you tell the model what may change and what must not.

Create 6 vocabulary entries for the topic "airport", level B1.

Follow the format of this example exactly (same fields, same order, same punctuation, one sentence only):

EXAMPLE
borrow (verb) | to take something and give it back later
Sentence: Can I borrow your pen for a minute?

Use different words and a different sentence structure from the example.

Why is describing a format less repeatable than showing it?

Because words like "short", "friendly" or "a simple table" are read loosely, so the model can fill the gaps differently each time. You might get a numbered list one day and a table the next, with bold headings you never asked for. Each response can be a reasonable reading of your description, because your description left room for several.

Here is the kind of prompt most may write first:

Make a vocabulary list for B1 learners on airports. Include the word, what type of word it is, a short definition and an example sentence. Keep it clean and easy to read.

This is a clear request to a human colleague. To a model, "clean" has no fixed meaning, "short" could be five words or fifteen, and "include" says nothing about order, separators or whether the part of speech goes in brackets. You can keep adding rules ("no bold, use a pipe between fields, definition under ten words"), and that can help, but the prompt grows longer and the format is still hard to put into words.

An example shows the fields, the order, the separators, the length and the register together, which tends to leave the model less to guess. You need to put much less of it into words. Off course asking it more openly and getting something you were not asking explicitly for can be a good thing. However, if you get something different from what you wanted you should consider providing an example.

What does a good example look like?

A good example is one to three items that are finished, correct and shaped exactly like the output you want. Think of it as the first line of the worksheet you would print. A few rules of thumb help:

  • Make it correct. The model tends to copy patterns, including your mistakes. A typo or a wrong answer in the example may come back.
  • Include every field, with the exact punctuation. If the part of speech goes in brackets, put it in brackets. If the answer key is separate, show the key.
  • Label it. Write something like "EXAMPLE" above it and say what to do with it: "follow this format, change the content."
  • Start with one, add a second if the output wobbles. Two examples with different content help the model see what may vary. OpenAI's guide makes the same point when it suggests showing a diverse range of possible inputs with the desired outputs.

Keep the example at the CEFR level you want. If you paste a C1 dialog and ask for B1 content, the language may drift upward, because the example can outweigh the level label.

What does this look like for vocabulary, dialogs and exercises?

The same move works for any repeatable material. The table shows three common outputs. Every cell in it describes expected behaviour, not a recorded ChatGPT run. We wrote it to show the pattern, and your output will vary with the model and version.

Output Described only With a pasted example
Vocabulary entry "Word, type, short definition, example sentence." Layout and punctuation may vary between runs. One entry pasted. New entries tend to repeat the same fields, separators and sentence length.
Short dialog "A short dialog returning a jacket in a shop." Speaker labels, length and stage directions may vary. Four turns pasted. New dialogs tend to keep the labels (A:/B:), turn length and no stage directions.
Exercise item "Gap-fill sentences with a key." The key may be inline, in a table or missing. One item plus a separate key pasted. New items tend to keep the bracketed verb and the key at the end.

Here is the dialog version as a prompt template. The example is a restaurant booking so that only the format, not the topic, is there to copy.

Write a dialog for A2 learners: a customer returns a jacket in a shop. Follow this format exactly: speaker labels A: and B:, four turns, one sentence per turn, no stage directions, no title.

EXAMPLE
A: Hello, can I help you?
B: Yes, I'd like to book a table for two.
A: For what time?
B: At seven o'clock, please.

Use different vocabulary from the example.

And the gap-fill (cloze) exercise item, with the key kept apart:

Write 5 gap-fill sentences practising the past simple, level A2.
Put the base verb in brackets after the gap. List the answers in a separate "Answer key" section after the exercise, numbered to match.

EXAMPLE
Yesterday we ______ (visit) my grandmother.
Answer key: visited

Use different verbs and different situations from the example.

The second prompt ends with a request worth keeping in every worksheet prompt: an answer key you can check. Our AI guide chapter on prompt engineering for language teachers lists showing an example of the output you want as one of its core techniques, and these prompts apply it. Once the format is fixed, you can turn one word list into a week of varied practice. For a bank of other task prompts to combine with this technique, the 7 ChatGPT prompts for ESL teachers post is a good start.

What can go wrong when you give ChatGPT an example?

A frequent problem is that the model copies the example's content along with its format. You ask for six airport words and get "borrow" again, or every sentence starts with "Can I". The fix is a plain instruction, placed after the example: "Use different words, a different topic and different sentence structures from the example." If it still repeats, replace your example with one from an unrelated topic, so only the format is left to copy. Or try just telling saying after the result that you wanted different exercises not the same.

The second problem is level drift. A pasted example can pull the output toward its own level, so state the CEFR level again after the example and check a few items against your learners' real range. The third is that a flawed example teaches a flawed pattern. If your gap-fill example has two possible answers, the model may happily produce more items with two possible answers.

Finally, a neat format can hide a wrong answer key, an unnatural sentence or a definition that is slightly off. A short routine catches most of it:

  • Read the answer key line by line and solve three or four items yourself.
  • Spot-check example sentences for naturalness at the level you set.
  • Look at the last items, since quality sometimes slips at the end of a long list.
  • Ask for exactly the number of items you need, so you are not trimming and reformatting afterwards.

The routine only helps if you do it every time.

When is an example not worth the effort?

Skip the example when the output has no fixed layout. One-off questions, brainstorming a lesson theme, asking for an explanation of a grammar point, or asking for ideas for a warm-up do not need a template, and pasting one can narrow the answers too much. The technique pays off when you will reuse the shape, such as a weekly worksheet, a vocabulary format you hand to every learner or a dialog style you want to stay consistent. If you are weighing whether a general chatbot is enough for your weekly materials at all, this comparison of ChatGPT and a dedicated tool covers that decision.

The technique is not ChatGPT-specific in principle, but we have only built these prompts for ChatGPT, so treat it as something to try in Claude or Gemini rather than a promise. A good habit is to save the working prompt, example included, in a note and reuse it. After a few weeks you have a small personal library of formats that behave.

What should you try first?

Pick the one material you produce most often and write its example once. Paste it into your next prompt under a clear label, add one line saying what must change, and read the output with the checking routine above. If the format holds, keep the prompt. If the model copies your words, add the "different words, different topic" line. The same idea carries over to other materials you reuse, though not to one-off questions.

Quick Reference

How many examples should I give ChatGPT?

Start with one. Add a second with different content if the output still wobbles. More examples can make the model copy more of your content, so add them only when you need to.

Why does ChatGPT copy my example's words?

The example is a strong signal in the prompt. Add "use different words and a different topic from the example", or choose an example from an unrelated topic.

Can I reuse the same example for every learner?

Yes for the format. Change the level and topic lines for each learner or group, and make sure the example's language matches the CEFR level you ask for.

Does this fix wrong answers?

No. An example mainly steers layout, length and tone. Always check the answer key and a few items yourself.

Does this work with Claude or Gemini?

Yes, it should. The technique is not ChatGPT-specific, but we have only built these prompts for ChatGPT, so test them in your tool of choice.