What is a system prompt
A system prompt (system message) is the app's hidden instructions that sit at the very top of a chat, before your first word.
The app's makers write it: what tone to use, what not to answer, which tools are available. Your custom instructions in settings ("keep it short, I'm a student") also go into this part, which is why they apply to every new chat. The model receives the whole chat as one document with roles, system, user and assistant, and writes the next assistant line.
Covered in the lessonInside a chat: system, user, historyOpen the lesson →
Articles on this topic
- System prompt leakage: how chatbots give away their secrets
- What Is Prompt Engineering? 5 Techniques and How to Test
- What Is a Neural Network? AI, ML and LLMs Explained Simply
Free course on this topic: AI basics →
More terms from this course
- What is an AI agent
- What is an AI hallucination
- What is chain of thought
- What is a context window
- What is an embedding
- What is few-shot prompting
- What is a knowledge cutoff
- What is temperature in AI
- What is an LLM (large language model)
- What is machine learning
- What is multimodal AI
- What is a neural network
- What is a prompt
- What is RAG
- What is RLHF
- What is a tokenizer
- What is voice cloning