What is the difference between System, User, and Assistant roles in ChatGPT?

According to Mastering the OpenAI API: Tips and Tricks - Arize AI :

Commonly used roles include “system,” “user,” and “assistant.” The “system” provides high-level instructions, the “user” presents queries or prompts, and the “assistant” is the model’s response. By differentiating these roles, we can set the context and direct the conversation efficiently.

Join the Make unofficial Discord server!

3 Likes