Hidden instructions an app gives an AI model before your message, setting its role, tone and rules.
AI Drafted with AI help · Reviewed by Keshav Aggarwal · Updated
In simple words
Before a school play, the teacher tells each child: “You are the king, speak slowly, never leave the stage.” The audience never hears this, but it shapes the whole play.
A system prompt is that backstage instruction for an AI.
The technical side
Chat APIs accept a separate system message that the model is trained to treat as higher priority than the user’s messages. Apps use it to set the assistant’s persona, the tools it may use, safety rules and output format.
System prompts are not secret by design: users can sometimes trick a model into revealing them, and malicious text can try to override them (prompt injection).
System Prompt kya hai?
System prompt woh chupi hui hidayat hai jo app AI ko pehle se deta hai, jaise kaun ban ke baat karni hai aur kya nahi karna.
Related terms
- PromptAIThe instruction or question you give an AI model. How you word it changes the answer you get.
- Prompt InjectionAIAn attack where hidden or sneaky text tricks an AI model into ignoring its instructions and doing something it should not.
- LLM (Large Language Model)AIAn AI model trained on huge amounts of text so it can read and write language, like the models behind ChatGPT, Claude and Gemini.
