SBC International/AI glossary/Prompt engineering

Prompt engineering

Prompt engineering is the systematic design, testing and improvement of prompts so that an AI model gives the desired result reliably and repeatably. It goes beyond asking a good question: you set out role, rules, examples and output format, and check against real cases that it works.

Prompt engineering is the systematic design, testing and improvement of prompts so that an AI model gives the desired result reliably and repeatably. It goes beyond asking a good question: you set out role, rules, examples and output format, and check against real cases that it works.

How it works

A one-⁠off prompt is fine for occasional work. As soon as a task runs inside a system, a hundred times a week, the result has to be predictable. Prompt engineering achieves that with a few standard techniques: a clear role and goal, explicit rules on what is and is not allowed, a few worked examples of good answers, and a fixed output format so that software can process the result. You then test the prompt on a set of real cases and adjust it until the errors are gone.

What it does for an SME

  • An invoice reader that always returns the same fields, so your accounts package can import them.
  • Customer service drafts that always follow your tone and your terms.
  • An email sorter that honestly says "uncertain" when in doubt instead of guessing.

A well-⁠designed prompt often makes the difference between a trial that sometimes works and an application you can build on. It is also far cheaper than retraining a model.

What to watch

Prompt engineering reduces errors but does not remove them. A model can still hallucinate, especially when the information requested is not in the context. Keep a test set of real cases, including the awkward ones, and run it again after every change or switch of model. A prompt that works well on one model does not automatically work as well on another. Finally, agree who may change a prompt: a small edit can have large consequences.

How SBC works with it

Every prompt in SBC’s systems has a test series of real examples, and a change only goes live once that series passes. Within AI Engineering we apply the same method for clients: designing prompts, testing them on the client’s own documents and monitoring them once the application is in use.

Also known as: prompt design, writing prompts, prompting

Frequently asked questions

What you want to know.

Short answers to what business owners ask most often here.

Do I need to hire a prompt engineer?

For most SMEs, no. Staff can learn to write good prompts with short training, and for applications that run inside a system you can bring in a partner.

Is prompt engineering the same as fine-⁠tuning?

No. Prompt engineering changes the instruction, fine-⁠tuning retrains the model itself. Always start with prompts, which is quicker and cheaper.

Next step

What can AI do for you?

Start with the free AI Opportunity Scan, or request an AI project straight away. A short intake, then a concrete proposal at a fixed price.