A single message in the chat history. Used to represent system instructions, user input, or LLM responses.
role: Role
The sender of the message.
content: string
The text content of the message. Contains the actual message text sent or received.