Module 2 of 11

Prompting and structured output

  • Beginner
  • 2 lessons
  • 55 min

Chapter 2 · The Lowtide Sleeper

Evening in the Dispatch Office. A vague note to the crew has just loaded the wrong cart onto the platform, and a clerk is waiting for answers in a form the ledger can read, not a speech. Clear orders and a fixed form are the tools in this carriage. You will write the order, shape the reply, and check what comes back before it is stamped.

What you will be able to do

  • Pick between zero-shot, few-shot and chain-of-thought prompting for a task.
  • Get reliable structured output and know when a reasoning model is worth its cost.

Lessons

  1. Prompting fundamentals

    25 minBeginner

    Read first: How LLMs work

End of chapter 2 · The Lowtide Sleeper

The clerk stamped the form, the right cart rolled out, and the note on the wall finally said what it meant.

Practise this module