system prompt

The instructions sent apart from the conversation that set a model's role, rules and context for every turn.

In more detail

Put the role and durable rules in the system prompt and the request's own data in the user turn. Treat it as discoverable: OWASP warns that attackers can extract hidden context, so it must never hold secrets or be the only control.

Related terms

Taught in

References

Certification courses