Glossary

Prompt Engineering

Prompt Engineering is the art of formulating requests to an LLM to get the most accurate and useful result. The right prompt can dramatically change output quality without changing the model.

Key techniques

Effective prompt structure

  1. Role: "You are a technical writer"
  2. Context: "The audience is junior developers"
  3. Task: "Explain X"
  4. Format: "Answer in 3 paragraphs with a code example"