Open main menu
Article
Quizzes
Tools
EN
Article
Quizzes
Tools
All quizzes
/
AI APIs & SDKs
/
In the Ant...
In the Anthropic Messages API, what are the two valid roles for message objects in the messages array?
user and assistant
human and ai
user, assistant, and system
input and output
Submit answers