Represents the role of a chat message. This is either the user or the assistant.
Static variables
staticread onlyAssistant:LanguageModelChatMessageRole
The assistant role, e.g. the language model generating responses.
staticread onlyUser:LanguageModelChatMessageRole
The user role, e.g the human interacting with a language model.