System prompt

Also: Systémový prompt, System instruction, System message, Developer message

A system prompt (system prompt) is the initial and hidden instruction for a large language model that defines its behavior, persona, tone, and foundational rules before it interacts with the user. Unlike standard user queries, the system prompt sets the boundaries the model should not cross and fundamentally impacts the overall quality and safety of the outputs.

What it means for a company

A properly configured system prompt is a key tool for companies to manage interactions between users and AI applications. It helps prevent hallucinations, internal data leakage, and inappropriate model behavior. From a business perspective, it reduces reputational risks by ensuring that a chatbot or AI agent communicates in line with corporate standards. Developers use it to provide company-specific context to the model without complex retraining. However, to ensure reliability and resilience against attacks like prompt injection, it is often necessary to combine it with additional security layers.

In practice

An example is a corporate customer support chatbot. Without a system prompt, it might answer questions about politics or programming. With a system prompt like "You are an assistant for Develogi. Answer only questions related to software and orders. Be concise and polite," the model stays in character. The difference between a user prompt and a system prompt is that the customer provides the former, while the developer configures the latter in the background.

Frequently asked questions

Can a user bypass the system prompt?

Yes, users can attempt to bypass the system prompt using techniques like prompt injection or a jailbreak. Although a well-written prompt reduces the risk, critical applications require the deployment of additional security mechanisms, known as guardrails.

What is the difference between a system prompt and fine-tuning?

A system prompt is a text instruction provided to the model at runtime (inference) that does not alter its weights. In contrast, fine-tuning permanently modifies the model itself based on a large dataset of specific training data, which is more time-consuming and expensive.

Sources

  1. OpenAI: Prompt engineering
  2. Anthropic: System prompts

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.