Skip to content

concepts

Prompt Engineering

Knowledge captured in João Lopes' learning graph.

The practice of crafting a single message to get a better response from a language model.

↑ Contents

Definition

Prompt engineering focuses on the quality of the input message: word choice, structure, examples, instructions within the prompt itself. It works when the interaction is a single exchange. In an agentic context, prompt engineering is a subset of context engineering. The individual message matters less than the system that assembles everything the model sees across an entire session.

↑ Contents

Source

↑ Contents

Source: OKF Markdown