Role
is the role of a chat message. System for instructions, User
for user input, Assistant for model responses, Tool for tool result
messages.
str
defn
(Fn [(Ref Role a)] String)
(str r)
returns the wire-format string for a role ("system", "user",
"assistant", or "tool").