Skip to main content
Menu

Prompt Engineering

Prompt engineering is the systematic design of instructions given to a language model, aimed at getting more reliable, precise, or better structured answers.

Prompt engineering is the systematic design and evaluation of instructions, context and output requirements for a language model.

The objective is not supposedly perfect wording, but a reproducible task definition whose results can be tested against defined criteria.

Elements of a good prompt

A prompt may define the task, relevant context, domain criteria, boundaries and required output format. Examples can demonstrate patterns that are difficult to describe precisely.

Few-shot prompting provides the model with several input-output examples. Whether this improves results should be tested with representative cases.

Why this goes beyond simple wording

In production systems, prompts, model versions and test cases should be versioned together. Representative examples and measurable criteria make changes comparable.

Where the limits are

Prompt engineering does not reliably add missing factual knowledge. This may require RAG, tools or other data access; fine-tuning primarily addresses model behaviour.

If results remain unstable despite clear instructions, review the model, data access, task decomposition and control mechanisms.

Related terms

Related terms

Token

A token is a processing unit for text, often a word, word fragment or punctuation mark. Tokens affect cost, speed and context size.

View term

Context Window

The context window is the maximum amount of text, measured in tokens, that a language model can process at once in a single request.

View term

Fine-Tuning

Fine-tuning further trains an already trained model on additional, specific data to specialise it for a particular task or style.

View term

Related topics

Related topics

Agentic Engineering

How engineering teams can use coding agents consistently and establish shared practices for tasks, context, data and reviews.

View overview

Related services

Related services

Training

For development teams that already use coding agents and want to establish a shared, reviewable way of working.

View overview

What would you like to assess or build?

Briefly describe the situation, your objective and the systems involved. We will respond with a technical assessment and a practical next step.

Send inquiry