Skip to content

EasyConceptPrompt engineering

What are the system, user and assistant roles in a chat API?

What a good answer covers

The system message sets behaviour, rules and context; user messages carry the request; assistant messages are model replies. Role separation helps instruction hierarchy but is not a security boundary on its own.

More on Prompt engineering

Flashcards for this topic