Understanding Role Management in OpenAI's API: Two Methods Compared

System role: Allows you to specify the way the model answers questions. Classic example: “You are a helpful assistant.”

User role: Equivalent to the queries made by the user.

Assistant role: are the model’s responses (based on the user messages)

You always have to keep in mind the meaning of the roles and generate specific content for each one.

I believe that specific and short indications is the ideal and optimal.

2 Likes