Open main menu
Article
Quizzes
Tools
EN
Article
Quizzes
Tools
All quizzes
/
AI APIs & SDKs
/
Where shou...
Where should you place a system prompt when calling the Anthropic Messages API?
As a top-level "system" field in the request body, separate from the messages array
As the first message in the messages array with role "system"
As a message with role "user" prepended with the text [SYSTEM]
Inside the model parameter as a special prefix
Submit answers