SamplingMessage.role

"user" or "assistant"

struct SamplingMessage
string role;