learn deep. ship safe.Practice testsFollow ByteMunSubscribe

Technique

Structured output

Getting a model to return JSON or another fixed format reliably.

Concept map
Structured output

What should you learn before Structured output?

  1. Tokens and tokenizationSplitting text into the units a language model reads and is billed by.
  2. TransformersThe attention-based neural network architecture behind modern language models.
  3. Large language models (LLMs)Transformer models trained on large amounts of text to predict the next token.
  4. Prompt engineeringWriting instructions and examples that get reliable output from a model.

Practise Structured output

All topics