What is the difference between system, user, and assistant messages?
Prompt Engineering Patterns: System Prompts, Role Assignment, and Persona Patterns for LLMs
Audio flashcard · 0:17Nortren·
What is the difference between system, user, and assistant messages?
0:17
System messages set the model's role, behavior, and constraints. User messages are inputs from the user. Assistant messages are previous responses from the model. The model is trained on this multi-role format, and structuring conversations correctly significantly improves output quality compared to mixing everything into one prompt.
platform.openai.com