Skip to content

Glossary: AI Security and Guardrails

Instruction hierarchy

The trained priority models give to different parts of a conversation: system prompt above user, user above tool results. This is why third-party content is delivered in `tool_result` blocks.

Where the book teaches it

Related terms

Prompt injectionTool result