問題文
A developer is deciding where to place different pieces of a prompt for a code review assistant. Which placement is appropriate?
選択肢
- Put the output format in an assistant message so the model treats it as its own prior decision.
- Put the coding standards in each user message alongside the diff so they are always adjacent to the code.
- Put the reviewer role, the project's coding standards, and the output format in the system parameter, and put the specific diff to review in a user message.
- Put everything including the diff in the system parameter, since the system parameter carries more weight.