Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
The role of the message input. One of user, assistant, system, or
developer.
OptionaltypeThe type of the message input. Always message.
A message input to the model with a role indicating instruction following hierarchy. Instructions given with the
developerorsystemrole take precedence over instructions given with theuserrole. Messages with theassistantrole are presumed to have been generated by the model in previous interactions.