Prompt engineering

Also: prompt design, prompting, tvorba promptů

Prompt engineering is the practice of writing and systematically refining instructions for a language model so that it reliably returns the desired result. It covers clear instructions, assigning a role, worked examples (few-shot), supplying source material, structuring the prompt, for example with tags, and breaking a complex task into steps. Each change is verified by testing against a set of examples.

What it means for a company

For a company, prompt engineering works on two levels. For everyday users it is a skill that can be learned in a few hours and improves daily work with AI, so it belongs in AI literacy training. For applications built on LLMs it is engineering work: prompts are versioned like code, tested on a set of real cases and re-checked when the model changes. Not every problem is solved by a better prompt, though. Missing knowledge calls for RAG, a consistent specialised style or format for fine-tuning, and lower cost or latency sometimes for a different model.

In practice

Prompt engineering vs. fine-tuning: a company wants AI to answer complaints in its own style. It first tries prompt engineering: instructions, five sample replies and rules. If that works, it is done quickly and any change is just a text edit. Fine-tuning, meaning further training of the model on hundreds of examples, only makes sense when the prompt is not enough or becomes too long and expensive because of all the examples.

Frequently asked questions

Is prompt engineering a separate job?

More a skill than a profession. Dedicated roles exist mainly at companies building applications on LLMs. As models improve, special phrasing matters less, while clear instructions, enough context and checking results remain essential.

How do I know a prompt is good?

Measure it. Prepare a set of typical and difficult inputs with expected results and test each prompt version against it. Both Anthropic and OpenAI recommend defining success criteria and tests first, and only then tuning the prompt.

Sources

  1. OpenAI: Prompt engineering guide
  2. Anthropic: Prompt engineering overview
  3. Google for Developers: Machine Learning Glossary, entry prompt engineering

Updated · Full AI glossary

Bringing AI into your company?

We help with employee training, an AI usage policy, safe deployment and compliance with the EU AI Act.

How we adopt AI

Cookie settings

Necessary cookies keep the website working. With your consent we also use analytics cookies (Google Analytics) that help us improve the website.

Necessary

Always active

Website language, spam protection of the contact form (Google reCAPTCHA) and storing your cookie choice.

Website visitor statistics using Google Analytics.