Skip to content
LLM Engineering

Prompt engineering

Design reliable LLM inputs for structured, grounded outputs.

Prompt engineering is the discipline of designing LLM inputs to reliably produce desired outputs. This hub covers system prompts, few-shot, chain-of-thought, structured outputs (JSON mode), function calling, prompt versioning and prompt injection defence.

How a reliable prompt is built, checked and shipped

Step 1 of 5

System prompt

State the role, the rules and what to do when unsure. Keep instructions explicit and put the stable parts first.

Treat the prompt as code: versioned, validated and tested, not tweaked by feel.

Start here

Begin with the fundamentals

The recommended first lesson for this topic.

Start

Related topics