Why do some chats have an identity and role?
Starting from the differences in identity and tone between Chat products, learn what the system prompt is, how it is placed in every request, and how it affects the model’s answers.
Have you noticed that the same language model seems like a different person in different products?
- Emotional companion products reply gently and patiently, and respond to your feelings first.
- Vertical assistants for law or medicine choose their words carefully and remind you not to treat them as professional advice.
- Customer service bots use fixed scripts and guide you through a process step by step.
The model itself has not changed: the parameters and training data are the same. What changes is an instruction that the product quietly adds to the front of every request. It defines what role the model plays, what tone it uses, which boundaries it respects, and how it organizes answers, and users usually cannot see it. That instruction is the system prompt.
In this lesson, we will take it apart: what the system prompt is, how it is put into every request, and why the same model can show a completely different “personality.” We will also clarify how it differs from the tool list in the previous lesson: the tool list travels in a separate tools field in the request, not inside the system prompt.
1. What is the system prompt?
The system prompt is an instruction that a Chat product’s developers write in advance. It is not shown in the chat window, but on every request it is sent to the model as the first message in messages, together with your question and the conversation history.
You can think of it as the product’s default setup: it decides what identity the model uses, what tone it speaks in, and what rules it follows when answering. Different products write different things, and users usually cannot see the exact content.
2. How is the system prompt put into the request?
Go back to the JSON we saw in How does AI Chat work?: the messages array uses role to identify who said what. This time, look at the first message:
{
"model": "deepseek-flash",
"messages": [
{
"role": "system",
"content": "You are a helpful AI assistant. Please answer in English, use a friendly tone, and keep answers concise."
},
{
"role": "user",
"content": "Write a leave request email for me."
}
]
}This message with role system does not come from your input, and you will not see it in the interface. You only see your own question and the model’s reply. The system prompt stays hidden behind them.
And it is not sent only on the first turn. When you add “Make it more formal.”, the product rebuilds the whole array, and the system message is still at the front:
{
"model": "deepseek-flash",
"messages": [
{
"role": "system",
"content": "You are a helpful AI assistant. Please answer in English, use a friendly tone, and keep answers concise."
},
{
"role": "user",
"content": "Write a leave request email for me."
},
{
"role": "assistant",
"content": "Okay, here is a draft leave request email: ..."
},
{
"role": "user",
"content": "Make it more formal."
}
]
}This is the same principle as the conversation history described earlier: the model does not remember anything on its own. Each turn, it receives a whole set of content that the product has assembled again.
3. What usually goes into a system prompt?
Different products write different things, but they usually cover these categories:
- Identity and tone: what role the model should play and what style it should speak in.
- Language and format: which language to answer in, and whether to use lists, tables, or a particular structure.
- Safety and boundaries: which questions to refuse, and how to handle sensitive topics.
- Tool usage rules: when to call a tool and how to handle the results it returns. Which tools are available and how each one works are usually sent in a separate
toolsfield in the request, not in the system prompt.
Some products also let you write your own “custom instructions” or “system prompt”, which is sent together with the product’s own content. How they are combined, and whether you can change them, varies by product.System Prompt
4. What does this mean for you?
- You usually cannot see the exact content of the system prompt. You can only infer a product’s settings from the model’s answers.
- The same question gets a different style of answer on different products, partly because they each carry a different system prompt.
- The system prompt is only part of the input, and it does not guarantee that the model will follow it. If you want an answer in a particular format or with particular requirements, it is best to write them in your own question.
- The safety rules of the model and the application are mostly decided by the product. You still need to check important things yourself. Do not fully trust a result just because the product “seems to have rules”.