Skip to main content
System prompts set the behavior and context for the model. They help guide responses by defining the assistant’s role, tone, expertise, and constraints.

Basic Usage

Include a system message at the beginning of your messages array:

Best Practices

Clearly define the assistant’s role and expertise:
Specify the desired communication style:
Include limitations or guidelines:
Give background information:

Example Templates

Technical Assistant

Creative Writing Assistant

Data Analysis Assistant