Hi guys, I’ve been using ChatGPT-4 extensively for about two months and it has been very helpful in my day-to-day activities. In fact, I’m currently developing a web application and plan to use its API.
I already had programming experience in a few languages, but I had never programmed professionally before, just simple programs for personal use and in my research (I’m a mathematics researcher) - mostly around 100 lines of code.
I have a question for you. The Chat API has possible “roles”: system, assistant, and user. Let’s say I want to issue an instruction with a predefined string A, followed by the user input B. I can do this in two ways:
Method 1: role=user; message=A+B;
Method 2: role=system, message=A; role=user, message=B.
From the few tests I’ve done, it seems to give the same result. The only difference I saw is organizational - Method 2 is more structured and is probably better for scaling. Do you know if there is actually a difference between the two methods? Do you have any simple and concrete examples of this difference that I could test?
PS.: I’m Brazilian, and my english still needs improved, the above message (but not this PS) was translated and improved with chatgpt4.