Format and length: shaping the answer so it is ready to use
Control length, structure, order, tone and reading level, use tables and fill-in templates, and check formats with a short program.
In this lesson you will
- Use numbers to control length
- Ask for tables, lists and templates
- Convert content between formats
- Check format rules with code
About 15 minutes
A good answer in the wrong shape is still the wrong answer
Rahim asks for tips on saving electricity and gets a 600-word essay. He wanted five bullet points to stick on the fridge. The content was fine; the shape was wrong. Format instructions fix this in a single line, and they save you minutes of reformatting every time.
What you can control
| Control | Examples of what to write |
|---|---|
| Length | under 100 words; exactly 3 sentences; about one page; 5 bullet points |
| Structure | numbered steps; a table with columns A, B, C; headings; Q and A pairs |
| Order | most important first; chronological; easiest to hardest |
| Tone and voice | friendly, calm, direct, no slang, no exclamation marks |
| Reading level | explain for a 12-year-old; plain English; avoid jargon |
| Language and style | British spelling; second person ‘you’; present tense |
| Extras | add a one-line summary at the top; end with a question |
Length: use numbers, not adjectives
“Short” can mean 20 words or 200. Give a number. Models are decent, not perfect, at counting, so give a range or a limit and check the result. About 100 words, no more than 5 bullets and 3 sentences work better than brief.
Lists and tables
Compare three ways to learn a language: apps, classes and a conversation partner. Present as a table with columns: Method, Cost level (low, medium, high), Best for, Main drawback. Then add a one-sentence recommendation for a busy beginner. No text before the table.
| Method | Cost level | Best for | Main drawback |
|---|---|---|---|
| Apps | Low | Daily habit and vocabulary | Little real conversation |
| Classes | Medium to high | Structure and feedback | Fixed schedule |
| Conversation partner | Low to medium | Speaking confidence | Needs finding and consistency |
Recommendation: for a busy beginner, start with an app for 10 minutes a day and add one weekly conversation session.
Many chat tools show tables neatly. If yours shows the raw symbols, ask for a bulleted list instead or paste the table into a spreadsheet.
Templates the AI must fill in
When you want the same shape every time, give a template with blanks.
Summarise the article below using exactly this format:
TOPIC: (3 words)
MAIN POINT: (1 sentence)
EVIDENCE: (2 bullet points)
SO WHAT: (1 sentence on why it matters)
[article text]
Checking the format with code
Format rules are easy to test, which is a big advantage: you can see at once whether the AI obeyed. This small checker verifies a word limit, a bullet count and the final character. It was run on a sample answer for real:
def check(text, max_words, bullets, must_end):
words = len(text.split())
got_bullets = sum(1 for line in text.splitlines() if line.strip().startswith("-"))
ends = text.strip().endswith(must_end)
return {"words": words, "within_limit": words <= max_words, "bullets": got_bullets, "bullets_ok": got_bullets == bullets, "ends_ok": ends}
answer = """Three quick tips for a calmer morning:
- Pack your bag the night before.
- Keep your keys in one place.
- Set a 10-minute buffer before leaving.
What will you try first?"""
print(check(answer, max_words=40, bullets=3, must_end="?"))
{'words': 33, 'within_limit': True, 'bullets': 3, 'bullets_ok': True, 'ends_ok': True}
This kind of check becomes powerful later, when you test the same prompt on many inputs (Intermediate course).
Asking for a different version
- “Same content, as a numbered list.”
- “Same content, in half the words.”
- “Same content, for a 10-year-old.”
- “Same content, as an email with a subject line.”
- “Turn this into a table.”
Because the content stays, these quick conversions are one of the most useful everyday uses of AI.
Common format problems and fixes
| Problem | Fix |
|---|---|
| Answer too long | Give a word limit and say ‘no introduction’ |
| Extra chat around the answer | Add ‘Output only the table, no other text’ |
| Inconsistent structure | Provide a template |
| Wrong count of items | Say ‘exactly 5’ and check it |
| Too formal or too casual | Name the tone and give a sample sentence |
Asking for “exactly 100 words” and trusting it. Counts can be off. Ask for a range, then count with a word counter such as the free one on this site.
End your prompt with the format line, for example ‘Format: 3 bullet points, each under 15 words.’ It is the last thing the model reads before answering.
Choosing the right format for the job
| You need | Ask for | Why |
|---|---|---|
| To compare options | A table with named columns | The eye scans rows and columns quickly |
| To follow a process | Numbered steps | Order matters and you can tick them off |
| To skim a topic | Short bullet points with bold key terms | You can find the point in seconds |
| To send to someone | An email with subject line and greeting | It is ready to paste |
| To learn | A short explanation, an example, then one question | Understanding plus practice |
| To decide | Pros and cons, then a recommendation with the main risk | The trade-off is visible |
Practice: one text, three shapes
Take any paragraph you have written, such as a weekend plan or a short report. Paste it and ask for three versions in turn: (1) three bullet points, each under 12 words; (2) a table with two columns, What and When; (3) a friendly two-sentence message to a friend. Notice how much the same facts change in feel when the shape changes. Write down which version you would actually use and why. Practising conversions like this is the fastest way to learn what the format words do.
There is no single right answer, but most people find the table best for plans with dates, the bullets best for quick reminders and the message best for sharing. Matching the format to the use is the skill.
Reading level and tone in numbers
Two quick controls help a lot. For reading level, name an age or a situation: explain it for a 12-year-old or for someone who has never studied the subject. For tone, give two or three adjectives plus one thing to avoid: warm, direct, no slang, no exclamation marks. When the result still misses, paste one sentence you like and say match this tone. A sample sentence communicates more than a paragraph of adjectives.
Check what you learned
Five quick questions. Pick an answer and you will see straight away whether it is right and why.
Which is a better length instruction?
- Make it brief
- Keep it short-ish
- No more than 5 bullet points
- Not too long
Numbers beat adjectives.
What does ‘no text before the table’ do?
- Removes introductions around the table
- Deletes the table
- Adds colours
- Makes it longer
It keeps the output clean.
Why give a fill-in template?
- To slow the AI
- To get the same shape every time
- To hide the topic
- To add errors
Templates make results consistent.
What should you do after asking for an exact word count?
- Trust it fully
- Ignore it
- Ask for more
- Count it yourself
Counts can be slightly off.
What is a quick useful way to reuse content?
- Start again from nothing
- Ask for the same content in another format
- Delete it
- Add random facts
Conversions save time.
Summary
- Use numbers and named structures, not adjectives.
- Templates give repeatable shapes.
- Format rules can be checked automatically.
- Put the format near the end of the prompt.
Questions
Can the AI count words exactly?
Not reliably. Ask for a range and verify with a word counter.
Why does my table look broken?
Some tools do not render tables. Ask for a list or paste the text into a spreadsheet.
How do I stop the introduction text?
Add 'Output only X, no introduction or closing remarks'.
