EvalItem interface
A message input to the model with a role indicating instruction following
hierarchy. Instructions given with the developer or system role take
precedence over instructions given with the user role. Messages with the
assistant role are presumed to have been generated by the model in previous
interactions.
Properties
| content | |
| role | The role of the message input. One of |
| type | The type of the message input. Always |
Property Details
content
role
The role of the message input. One of user, assistant, system, or
developer.
role: "user" | "system" | "assistant" | "developer"
Property Value
"user" | "system" | "assistant" | "developer"
type
The type of the message input. Always message.
type?: "message"
Property Value
"message"