ailiteracynepal 🇳🇵

Chapter 02

Chapter 2 — Structure & Formatting

Make the model read the prompt the way you meant it — system vs user turns, delimiters that survive, structured output, ordering, and keeping it tight.

In this chapter

Sections in this chapter

  1. I Section

    2.1 System vs user turns: setting the frame

    0 / 1 exercises

  2. II Section

    2.2 Delimiters that survive: XML tags, backticks, headings

    0 / 1 exercises

  3. III Section

    2.3 Asking for structured output: JSON, tables, checklists

    0 / 1 exercises

  4. IV Section

    2.4 Ordering matters: instructions first, data last

    0 / 1 exercises

  5. V Section

    2.5 Length is not clarity: keeping prompts tight

    0 / 1 exercises