System prompt
Short answer
The system prompt is a standing instruction given to the model before your conversation starts, setting how it should behave.
It is where an assistant is told things like "answer from the provided passages and say so when they do not contain the answer". A good system prompt is most of what separates a useful document assistant from a confident liar.
It is also not a security boundary. Text inside a document can and does contradict it, which is the mechanism behind prompt injection.
Related terms
Other ways people ask this
- what is system prompt