AI / LLM Basics Interview Questions
What is the purpose of a System Prompt?
A system prompt is a set of instructions given to a model before the actual conversation begins, establishing its role, tone, boundaries, or behavior for the rest of that session.
- Typically not shown to the end user, but still shapes every response the model gives afterward
- Used to set persistent behavior, like "respond only in French" or "act as a customer support agent for this company"
- Distinct from a regular user prompt, which is a specific request within the ongoing conversation
This is one of the main levers application developers use to customize a general-purpose model's behavior for their specific product, without needing to fine-tune anything.
More Related questions...