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.
PreviousWhat is the curse of dimensionality for vector search and how does approximate nearest neighbour help?Next What is zero-shot versus few-shot prompting?