System prompt and instructions
A section of the "Prompting and context" topic. The questions check an understanding of practice, not memory of specific library APIs. After each answer comes a review: why the correct option is right, what is wrong with each incorrect one and which chapter to read.
Quiz difficulty Formats: one correct option, several correct options
Quiz 1.2System prompt and instructionsStart practice Practice has no timer and a review after every answer.
01
What we check
- Testing a system prompt
- Business rules in the prompt
- Capital letters in a prompt
- Why the system prompt works better
- The model's chat template
- Concatenating messages by hand
- Protection against injections at the context level
- A skill description as a routing condition
02
Where to read
- Li, AI Agents in Depthsec. 2.3.1 · sec. 2.3.2 · sec. 2.4 · sec. 2.4.1 · sec. 2.4.4 · sec. 2.4.7 · sec. 2.5.1
- Huyen, AI Engineeringch. 5